GetAdminAccountResponse.fromJson constructor

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

Implementation

factory GetAdminAccountResponse.fromJson(Map<String, dynamic> json) {
  return GetAdminAccountResponse(
    adminAccount: json['AdminAccount'] as String?,
    roleStatus: (json['RoleStatus'] as String?)?.toAccountRoleStatus(),
  );
}