UpdateRoomMembershipResponse.fromJson constructor

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

Implementation

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