User.fromJson constructor
Implementation
factory User.fromJson(Map<String, dynamic> json) {
return User(
authenticationType:
(json['AuthenticationType'] as String).toAuthenticationType(),
arn: json['Arn'] as String?,
createdTime: timeStampFromJson(json['CreatedTime']),
enabled: json['Enabled'] as bool?,
firstName: json['FirstName'] as String?,
lastName: json['LastName'] as String?,
status: json['Status'] as String?,
userName: json['UserName'] as String?,
);
}