UpdateRoomResponse.fromJson constructor

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

Implementation

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