BatchPredictionJob_OutputInfo.fromJson constructor

BatchPredictionJob_OutputInfo.fromJson(
  1. Object? j
)

Implementation

factory BatchPredictionJob_OutputInfo.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return BatchPredictionJob_OutputInfo(
    gcsOutputDirectory: switch (json['gcsOutputDirectory']) {
      null => null,
      Object $1 => decodeString($1),
    },
    bigqueryOutputDataset: switch (json['bigqueryOutputDataset']) {
      null => null,
      Object $1 => decodeString($1),
    },
    bigqueryOutputTable: switch (json['bigqueryOutputTable']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}