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
@@ -87,7 +87,7 @@ class ChannelModel {
includeIfNull: false,
defaultValue: {},
)
final Map<String, Object> extraData;
final Map<String, Object?> extraData;
/// The team the channel belongs to
@JsonKey(includeIfNull: false, toJson: Serialization.readOnly)
@@ -132,7 +132,7 @@ class ChannelModel {
DateTime? updatedAt,
DateTime? deletedAt,
int? memberCount,
Map<String, Object>? extraData,
Map<String, Object?>? extraData,
String? team,
}) =>
ChannelModel(