UserDTO.fromJson constructor
Implementation
factory UserDTO.fromJson(Map<String, Object?> json) {
return UserDTO(
links: json[r'_links'] != null
? UserLinkDTO.fromJson(json[r'_links']! as Map<String, Object?>)
: null,
accountId: json[r'accountId'] as String?,
active: json[r'active'] as bool? ?? false,
displayName: json[r'displayName'] as String?,
emailAddress: json[r'emailAddress'] as String?,
key: json[r'key'] as String?,
name: json[r'name'] as String?,
timeZone: json[r'timeZone'] as String?,
);
}