DehydratedDeviceEvents.fromJson constructor
Implementation
DehydratedDeviceEvents.fromJson(Map<String, dynamic> json)
: nextBatch = json['next_batch'] as String?,
events = json
.tryGetList<Map<String, dynamic>>('events')
?.map((i) => ToDeviceEvent.fromJson(i))
.toList();