AnalyzeEntitySentimentRequest.fromJson constructor

AnalyzeEntitySentimentRequest.fromJson(
  1. Map json_
)

Implementation

AnalyzeEntitySentimentRequest.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,
      );