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