ChartAxisViewWindowOptions.fromJson constructor

ChartAxisViewWindowOptions.fromJson(
  1. Map json_
)

Implementation

ChartAxisViewWindowOptions.fromJson(core.Map json_)
    : this(
        viewWindowMax: json_.containsKey('viewWindowMax')
            ? (json_['viewWindowMax'] as core.num).toDouble()
            : null,
        viewWindowMin: json_.containsKey('viewWindowMin')
            ? (json_['viewWindowMin'] as core.num).toDouble()
            : null,
        viewWindowMode: json_.containsKey('viewWindowMode')
            ? json_['viewWindowMode'] as core.String
            : null,
      );