GetMutualRoomsResponse.fromJson constructor

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

Implementation

GetMutualRoomsResponse.fromJson(Map<String, Object?> json)
  : count = json['count'] as int,
    joined = (json['joined'] as List).map((v) => v as String).toList(),
    nextBatch = ((v) => v != null ? v as String : null)(json['next_batch']);