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