AdvanceInvitationRequestData.fromJson constructor

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

Implementation

factory AdvanceInvitationRequestData.fromJson(Map<String, dynamic> json) {
  return AdvanceInvitationRequestData(
    inviter: ZegoUIKitUser.fromJson(
      json['inviter'] as Map<String, dynamic>? ?? {},
    ),
    invitees: List<String>.from(json['invitees']),
    type: json['type'],
    customData: json['custom_data'],
  );
}