TF-3586: Upgrade Flutter to 3.27.4
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
import 'package:collection/collection.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/email/email_body_part.dart';
|
||||
import 'package:model/email/attachment.dart';
|
||||
@@ -14,12 +13,12 @@ extension ListAttachmentsExtension on List<Attachment> {
|
||||
|
||||
Set<Id> get subtypeICSBlobIds => where((attachment) => attachment.type?.subtype == Attachment.eventICSSubtype)
|
||||
.map((attachment) => attachment.blobId)
|
||||
.whereNotNull()
|
||||
.nonNulls
|
||||
.toSet();
|
||||
|
||||
Set<Id> get subtypeCalendarBlobIds => where((attachment) => attachment.type?.subtype == Attachment.eventCalendarSubtype)
|
||||
.map((attachment) => attachment.blobId)
|
||||
.whereNotNull()
|
||||
.nonNulls
|
||||
.toSet();
|
||||
|
||||
Set<EmailBodyPart> toEmailBodyPart({String? charset}) => map((attachment) => attachment.toEmailBodyPart(charset: charset)).toSet();
|
||||
|
||||
Reference in New Issue
Block a user