ListedUser.fromJson constructor
Implementation
factory ListedUser.fromJson(Map<String, dynamic> json) {
return ListedUser(
arn: json['Arn'] as String,
homeDirectory: json['HomeDirectory'] as String?,
homeDirectoryType:
(json['HomeDirectoryType'] as String?)?.toHomeDirectoryType(),
role: json['Role'] as String?,
sshPublicKeyCount: json['SshPublicKeyCount'] as int?,
userName: json['UserName'] as String?,
);
}