AnalyzeEntitiesResponse.fromJson constructor

AnalyzeEntitiesResponse.fromJson(
  1. Map json_
)

Implementation

AnalyzeEntitiesResponse.fromJson(core.Map json_)
    : this(
        entities: json_.containsKey('entities')
            ? (json_['entities'] as core.List)
                .map((value) => Entity.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        languageSupported: json_.containsKey('languageSupported')
            ? json_['languageSupported'] as core.bool
            : null,
      );