StoredContentsExample.fromJson constructor
StoredContentsExample.fromJson(
- Object? j
Implementation
factory StoredContentsExample.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return StoredContentsExample(
searchKey: switch (json['searchKey']) {
null => '',
Object $1 => decodeString($1),
},
contentsExample: switch (json['contentsExample']) {
null => null,
Object $1 => ContentsExample.fromJson($1),
},
searchKeyGenerationMethod: switch (json['searchKeyGenerationMethod']) {
null => null,
Object $1 => StoredContentsExample_SearchKeyGenerationMethod.fromJson(
$1,
),
},
);
}