toJson method

Map<String, dynamic> toJson()

Implementation

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