toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (documentSentiment != null) 'documentSentiment': documentSentiment!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (languageSupported != null) 'languageSupported': languageSupported!,
      if (sentences != null) 'sentences': sentences!,
    };