CreateRoomMembershipResponse.fromJson constructor

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

Implementation

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