GetRoomIdByAliasResponse.fromJson constructor

GetRoomIdByAliasResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

GetRoomIdByAliasResponse.fromJson(Map<String, Object?> json)
  : roomId = ((v) => v != null ? v as String : null)(json['room_id']),
    servers = ((v) => v != null
        ? (v as List).map((v) => v as String).toList()
        : null)(json['servers']);