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