Update lib/src/Store.dart
This commit is contained in:
parent
01166cf057
commit
595dd72f7d
|
@ -183,7 +183,7 @@ class Store {
|
|||
|
||||
switch (userUpdate.eventType) {
|
||||
case "m.direct":
|
||||
print("New direct update: ${userUpdate.content}");
|
||||
print("New direct update: ${userUpdate.content}, type: userUpdate.content["content"].runtimeType");
|
||||
if (userUpdate.content["content"] is Map<String, List<dynamic>>) {
|
||||
print("Is a Map of String to List of Strings");
|
||||
Map<String, List<String>> directMap = userUpdate.content["content"];
|
||||
|
|
Loading…
Reference in a new issue