AnalyzeSentimentRequest.fromJson constructor

AnalyzeSentimentRequest.fromJson(
  1. Map json_
)

Implementation

AnalyzeSentimentRequest.fromJson(core.Map json_)
    : this(
        document: json_.containsKey('document')
            ? Document.fromJson(
                json_['document'] as core.Map<core.String, core.dynamic>)
            : null,
        encodingType: json_.containsKey('encodingType')
            ? json_['encodingType'] as core.String
            : null,
      );