GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse.fromJson constructor

GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse.fromJson(
    core.Map _json)
    : this(
        feedbackThreads: _json.containsKey('feedbackThreads')
            ? (_json['feedbackThreads'] as core.List)
                .map<GoogleCloudDatalabelingV1beta1FeedbackThread>((value) =>
                    GoogleCloudDatalabelingV1beta1FeedbackThread.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );