toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (frameConfidenceThreshold != null)
        'frameConfidenceThreshold': frameConfidenceThreshold!,
      if (labelDetectionMode != null)
        'labelDetectionMode': labelDetectionMode!,
      if (model != null) 'model': model!,
      if (stationaryCamera != null) 'stationaryCamera': stationaryCamera!,
      if (videoConfidenceThreshold != null)
        'videoConfidenceThreshold': videoConfidenceThreshold!,
    };