toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (basicConfig != null) 'basicConfig': basicConfig!.toJson(),
      if (eventConfig != null) 'eventConfig': eventConfig!.toJson(),
      if (feature != null) 'feature': feature!,
      if (objectDetectionConfig != null)
        'objectDetectionConfig': objectDetectionConfig!.toJson(),
      if (objectTrackingConfig != null)
        'objectTrackingConfig': objectTrackingConfig!.toJson(),
      if (videoClassificationConfig != null)
        'videoClassificationConfig': videoClassificationConfig!.toJson(),
    };