Grid.fromJson constructor

Grid.fromJson(
  1. Map json_
)

Implementation

Grid.fromJson(core.Map json_)
    : this(
        columns: json_.containsKey('columns')
            ? ChoiceQuestion.fromJson(
                json_['columns'] as core.Map<core.String, core.dynamic>)
            : null,
        shuffleQuestions: json_.containsKey('shuffleQuestions')
            ? json_['shuffleQuestions'] as core.bool
            : null,
      );