AnalyzeEntitySentimentResponse.fromJson constructor

AnalyzeEntitySentimentResponse.fromJson(
  1. Map json_
)

Implementation

AnalyzeEntitySentimentResponse.fromJson(core.Map json_)
  : this(
      entities: (json_['entities'] as core.List?)
          ?.map(
            (value) =>
                Entity.fromJson(value as core.Map<core.String, core.dynamic>),
          )
          .toList(),
      language: json_['language'] as core.String?,
    );