ListRecognizersResponse.fromJson constructor

ListRecognizersResponse.fromJson(
  1. Map json_
)

Implementation

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