toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() {
  return {
    if (csvReadInstances != null)
      'csvReadInstances': csvReadInstances!.toJson(),
    if (bigqueryReadInstances != null)
      'bigqueryReadInstances': bigqueryReadInstances!.toJson(),
    'featurestore': featurestore,
    if (destination != null) 'destination': destination!.toJson(),
    if (passThroughFields.isNotDefault)
      'passThroughFields': encodeList(passThroughFields),
    'entityTypeSpecs': encodeList(entityTypeSpecs),
    if (startTime != null) 'startTime': startTime!.toJson(),
  };
}