ProjectDetails.fromJson constructor
Implementation
factory ProjectDetails.fromJson(Map<String, Object?> json) {
return ProjectDetails(
avatarUrls: json[r'avatarUrls'] != null
? AvatarUrlsBean.fromJson(
json[r'avatarUrls']! as Map<String, Object?>)
: null,
id: json[r'id'] as String?,
key: json[r'key'] as String?,
name: json[r'name'] as String?,
projectCategory: json[r'projectCategory'] != null
? UpdatedProjectCategory.fromJson(
json[r'projectCategory']! as Map<String, Object?>)
: null,
projectTypeKey: json[r'projectTypeKey'] != null
? ProjectDetailsProjectTypeKey.fromValue(
json[r'projectTypeKey']! as String)
: null,
self: json[r'self'] as String?,
simplified: json[r'simplified'] as bool? ?? false,
);
}