ListAdaptiveMtSentencesResponse.fromJson constructor

ListAdaptiveMtSentencesResponse.fromJson(
  1. Map json_
)

Implementation

ListAdaptiveMtSentencesResponse.fromJson(core.Map json_)
    : this(
        adaptiveMtSentences: json_.containsKey('adaptiveMtSentences')
            ? (json_['adaptiveMtSentences'] as core.List)
                .map((value) => AdaptiveMtSentence.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );