PresetQuestion.fromJson constructor

PresetQuestion.fromJson(
  1. Map json_
)

Implementation

PresetQuestion.fromJson(core.Map json_)
  : this(
      answerIds: (json_['answerIds'] as core.List?)
          ?.map((value) => value as core.int)
          .toList(),
      questionId: json_['questionId'] as core.int?,
    );