KnockRoomUpdate.fromJson constructor
Implementation
KnockRoomUpdate.fromJson(Map<String, Object?> json)
: knockState = json
.tryGetMap<String, List<Object?>>('knock_state')?['events']
?.map((i) => StrippedStateEvent.fromJson(i as Map<String, Object?>))
.toList();