Update lib/src/Store.dart

This commit is contained in:
Christian 2019-06-12 07:33:42 +00:00
parent 01166cf057
commit 595dd72f7d
1 changed files with 1 additions and 1 deletions

View File

@ -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"];