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
+1 -1
View File
@@ -1194,7 +1194,7 @@ class StreamChatClient {
Channel channel(
String type, {
String? id,
Map<String, Object> extraData = const {},
Map<String, Object?> extraData = const {},
}) {
if (id != null && state.channels.containsKey('$type:$id')) {
return state.channels['$type:$id']!;