Account.fromJson constructor
Implementation
factory Account.fromJson(Map<String, dynamic> json) {
return Account(
arn: json['Arn'] as String?,
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(),
);
}