CreateFeaturestoreRequest.fromJson constructor

CreateFeaturestoreRequest.fromJson(
  1. Object? j
)

Implementation

factory CreateFeaturestoreRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return CreateFeaturestoreRequest(
    parent: switch (json['parent']) {
      null => '',
      Object $1 => decodeString($1),
    },
    featurestore: switch (json['featurestore']) {
      null => null,
      Object $1 => Featurestore.fromJson($1),
    },
    featurestoreId: switch (json['featurestoreId']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}