TimelineUpdate.fromJson constructor
Implementation
TimelineUpdate.fromJson(Map<String, Object?> json)
: events = json
.tryGetList<Map<String, Object?>>('events')
?.map((v) => MatrixEvent.fromJson(v))
.toList(),
limited = json.tryGet<bool>('limited'),
prevBatch = json.tryGet<String>('prev_batch');