UserDetails.fromJson constructor
Implementation
factory UserDetails.fromJson(Map<String, Object?> json) {
return UserDetails(
self: json[r'self'] as String?,
name: json[r'name'] as String?,
key: json[r'key'] as String?,
accountId: json[r'accountId'] as String?,
emailAddress: json[r'emailAddress'] as String?,
avatarUrls: json[r'avatarUrls'] as Map<String, Object?>?,
displayName: json[r'displayName'] as String?,
active: json[r'active'] as bool? ?? false,
timeZone: json[r'timeZone'] as String?,
accountType: json[r'accountType'] as String?,
);
}