DeviceInfo.fromJson constructor
Implementation
DeviceInfo.fromJson(Map<String, Object?> json)
: sessions = ((v) => v != null
? (v as List)
.map((v) => SessionInfo.fromJson(v as Map<String, Object?>))
.toList()
: null)(json['sessions']);