FeatureValueDestination.fromJson constructor

FeatureValueDestination.fromJson(
  1. Object? j
)

Implementation

factory FeatureValueDestination.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return FeatureValueDestination(
    bigqueryDestination: switch (json['bigqueryDestination']) {
      null => null,
      Object $1 => BigQueryDestination.fromJson($1),
    },
    tfrecordDestination: switch (json['tfrecordDestination']) {
      null => null,
      Object $1 => TfrecordDestination.fromJson($1),
    },
    csvDestination: switch (json['csvDestination']) {
      null => null,
      Object $1 => CsvDestination.fromJson($1),
    },
  );
}