WhoIsInfo.fromJson constructor
Implementation
WhoIsInfo.fromJson(Map<String, Object?> json)
: devices = ((v) => v != null
? (v as Map<String, Object?>).map((k, v) =>
MapEntry(k, DeviceInfo.fromJson(v as Map<String, Object?>)))
: null)(json['devices']),
userId = ((v) => v != null ? v as String : null)(json['user_id']);