toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (basicConfig != null) 'basicConfig': basicConfig!,
      if (feature != null) 'feature': feature!,
      if (textClassificationConfig != null)
        'textClassificationConfig': textClassificationConfig!,
      if (textEntityExtractionConfig != null)
        'textEntityExtractionConfig': textEntityExtractionConfig!,
    };