diff --git a/packages/stream_chat/lib/src/models/attachment.dart b/packages/stream_chat/lib/src/models/attachment.dart index b8244334..0ba66667 100644 --- a/packages/stream_chat/lib/src/models/attachment.dart +++ b/packages/stream_chat/lib/src/models/attachment.dart @@ -105,7 +105,7 @@ class Attachment extends Equatable { final AttachmentFile? file; /// The current upload state of the attachment - final UploadState? uploadState; + late final UploadState? uploadState; /// Map of custom channel extraData @JsonKey(includeIfNull: false) @@ -206,7 +206,7 @@ class Attachment extends Equatable { ); @override - List get props => [ + List get props => [ id, type, titleLink, diff --git a/packages/stream_chat/lib/src/models/message.dart b/packages/stream_chat/lib/src/models/message.dart index b78501d6..1fb51279 100644 --- a/packages/stream_chat/lib/src/models/message.dart +++ b/packages/stream_chat/lib/src/models/message.dart @@ -349,7 +349,7 @@ class Message extends Equatable { } @override - List get props => [ + List get props => [ id, text, type,