DelegatedAdministrator.fromJson constructor

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

Implementation

factory DelegatedAdministrator.fromJson(Map<String, dynamic> json) {
  return DelegatedAdministrator(
    arn: json['Arn'] as String?,
    delegationEnabledDate: timeStampFromJson(json['DelegationEnabledDate']),
    email: json['Email'] as String?,
    id: json['Id'] as String?,
    joinedMethod: (json['JoinedMethod'] as String?)?.toAccountJoinedMethod(),
    joinedTimestamp: timeStampFromJson(json['JoinedTimestamp']),
    name: json['Name'] as String?,
    status: (json['Status'] as String?)?.toAccountStatus(),
  );
}