RoomEventFilter.fromJson constructor
Implementation
RoomEventFilter.fromJson(Map<String, Object?> json)
: containsUrl =
((v) => v != null ? v as bool : null)(json['contains_url']),
includeRedundantMembers = ((v) =>
v != null ? v as bool : null)(json['include_redundant_members']),
lazyLoadMembers =
((v) => v != null ? v as bool : null)(json['lazy_load_members']),
notRooms = ((v) => v != null
? (v as List).map((v) => v as String).toList()
: null)(json['not_rooms']),
rooms = ((v) => v != null
? (v as List).map((v) => v as String).toList()
: null)(json['rooms']),
unreadThreadNotifications = ((v) =>
v != null ? v as bool : null)(json['unread_thread_notifications']);