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