migrate to nnbd

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-04-20 19:52:06 +05:30
parent 8f1f7b0b68
commit 3bb1b11ee8
59 changed files with 642 additions and 589 deletions
@@ -50,7 +50,7 @@ class Reaction {
/// Reaction custom extraData
@JsonKey(includeIfNull: false)
final Map<String, dynamic>? extraData;
final Map<String, Object>? extraData;
/// Map of custom user extraData
static const topLevelFields = [
@@ -75,7 +75,7 @@ class Reaction {
User? user,
String? userId,
int? score,
Map<String, dynamic>? extraData,
Map<String, Object>? extraData,
}) =>
Reaction(
messageId: messageId ?? this.messageId,