use Map<String, Object?> for extradata
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user