AdvanceInvitationAcceptData.fromJson constructor

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

Implementation

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