UserProfile.fromJson constructor

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

Implementation

factory UserProfile.fromJson(Map<String, dynamic> json) {
  return UserProfile(
    allowSelfManagement: json['AllowSelfManagement'] as bool?,
    iamUserArn: json['IamUserArn'] as String?,
    name: json['Name'] as String?,
    sshPublicKey: json['SshPublicKey'] as String?,
    sshUsername: json['SshUsername'] as String?,
  );
}