RoomNewResponse.fromMap constructor

RoomNewResponse.fromMap(
  1. Map<String, dynamic>? json
)

Implementation

RoomNewResponse.fromMap(Map<String, dynamic>? json) {
  if (json != null) {
    room = json['room'] != null ? Room.fromMap(json['channel']) : null;
    success = json['success'];
  }
}