[Event] Add debugprint

This commit is contained in:
Christian Pauly 2019-08-29 08:49:28 +02:00
parent b4f0094542
commit c96d2af354

View file

@ -66,6 +66,7 @@ class RawEvent {
this.room});
static Map<String, dynamic> getMapFromPayload(dynamic payload) {
print("getMapFromPayload: $payload");
if (payload is String) return json.decode(payload);
if (payload is Map<String, dynamic>) return payload;
return null;