ChartHistogramRule.fromJson constructor

ChartHistogramRule.fromJson(
  1. Map json_
)

Implementation

ChartHistogramRule.fromJson(core.Map json_)
    : this(
        intervalSize: json_.containsKey('intervalSize')
            ? (json_['intervalSize'] as core.num).toDouble()
            : null,
        maxValue: json_.containsKey('maxValue')
            ? (json_['maxValue'] as core.num).toDouble()
            : null,
        minValue: json_.containsKey('minValue')
            ? (json_['minValue'] as core.num).toDouble()
            : null,
      );