ContentsExample_ExpectedContent.fromJson constructor
ContentsExample_ExpectedContent.fromJson(
- Object? j
Implementation
factory ContentsExample_ExpectedContent.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ContentsExample_ExpectedContent(
content: switch (json['content']) {
null => null,
Object $1 => Content.fromJson($1),
},
);
}