ListQuestionsResponse.fromJson constructor

ListQuestionsResponse.fromJson(
  1. Map json_
)

Implementation

ListQuestionsResponse.fromJson(core.Map json_)
  : this(
      nextPageToken: json_['nextPageToken'] as core.String?,
      questions: (json_['questions'] as core.List?)
          ?.map(
            (value) => Question.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      totalSize: json_['totalSize'] as core.int?,
    );