AdminAccount.fromJson constructor

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

Implementation

factory AdminAccount.fromJson(Map<String, dynamic> json) {
  return AdminAccount(
    adminAccountId: json['adminAccountId'] as String?,
    adminStatus: (json['adminStatus'] as String?)?.toAdminStatus(),
  );
}