use Map<String, Object?> for extradata

This commit is contained in:
Salvatore Giordano
2021-05-14 11:24:05 +02:00
parent 7b1790a198
commit 0ab428ce2e
18 changed files with 34 additions and 56 deletions
@@ -114,7 +114,7 @@ class Attachment extends Equatable {
includeIfNull: false,
defaultValue: {},
)
final Map<String, Object> extraData;
final Map<String, Object?> extraData;
/// The attachment ID.
///
@@ -183,7 +183,7 @@ class Attachment extends Equatable {
List<Action>? actions,
AttachmentFile? file,
UploadState? uploadState,
Map<String, Object>? extraData,
Map<String, Object?>? extraData,
}) =>
Attachment(
id: id ?? this.id,