CreateRoomResponse.fromJson constructor

CreateRoomResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateRoomResponse.fromJson(Map<String, dynamic> json) {
  return CreateRoomResponse(
    room: json['Room'] != null
        ? Room.fromJson(json['Room'] as Map<String, dynamic>)
        : null,
  );
}