toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (csvReadInstances case final csvReadInstances?)
    'csvReadInstances': csvReadInstances.toJson(),
  if (bigqueryReadInstances case final bigqueryReadInstances?)
    'bigqueryReadInstances': bigqueryReadInstances.toJson(),
  'featurestore': featurestore,
  if (destination case final destination?)
    'destination': destination.toJson(),
  if (passThroughFields.isNotDefault)
    'passThroughFields': [for (final i in passThroughFields) i.toJson()],
  'entityTypeSpecs': [for (final i in entityTypeSpecs) i.toJson()],
  if (startTime case final startTime?) 'startTime': startTime.toJson(),
};