ScaleQuestion.fromJson constructor

ScaleQuestion.fromJson(
  1. Map json_
)

Implementation

ScaleQuestion.fromJson(core.Map json_)
    : this(
        high: json_.containsKey('high') ? json_['high'] as core.int : null,
        highLabel: json_.containsKey('highLabel')
            ? json_['highLabel'] as core.String
            : null,
        low: json_.containsKey('low') ? json_['low'] as core.int : null,
        lowLabel: json_.containsKey('lowLabel')
            ? json_['lowLabel'] as core.String
            : null,
      );