ContentMetadataCurrentuser.fromJson constructor
Implementation
factory ContentMetadataCurrentuser.fromJson(Map<String, Object?> json) {
return ContentMetadataCurrentuser(
favourited: json[r'favourited'] != null
? ContentMetadataCurrentuserFavourited.fromJson(
json[r'favourited']! as Map<String, Object?>)
: null,
lastmodified: json[r'lastmodified'] != null
? ContentMetadataCurrentuserLastmodified.fromJson(
json[r'lastmodified']! as Map<String, Object?>)
: null,
lastcontributed: json[r'lastcontributed'] != null
? ContentMetadataCurrentuserLastcontributed.fromJson(
json[r'lastcontributed']! as Map<String, Object?>)
: null,
viewed: json[r'viewed'] != null
? ContentMetadataCurrentuserViewed.fromJson(
json[r'viewed']! as Map<String, Object?>)
: null,
scheduled: json[r'scheduled'] as Map<String, Object?>?,
expandable: json[r'_expandable'] != null
? ContentMetadataCurrentuserExpandable.fromJson(
json[r'_expandable']! as Map<String, Object?>)
: null,
);
}