TF-495 Implement linter for thread view
This commit is contained in:
@@ -3,9 +3,6 @@ import 'package:tmail_ui_user/features/thread/data/model/email_cache.dart';
|
||||
|
||||
extension ListEmailCacheExtension on List<EmailCache> {
|
||||
Map<String, EmailCache> toMap() {
|
||||
return Map<String, EmailCache>.fromIterable(
|
||||
this,
|
||||
key: (emailCache) => emailCache.id,
|
||||
value: (emailCache) => emailCache);
|
||||
return { for (var emailCache in this) emailCache.id : emailCache };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user