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