BasicSeriesDataPointStyleOverride.fromJson constructor

BasicSeriesDataPointStyleOverride.fromJson(
  1. Map json_
)

Implementation

BasicSeriesDataPointStyleOverride.fromJson(core.Map json_)
    : this(
        color: json_.containsKey('color')
            ? Color.fromJson(
                json_['color'] as core.Map<core.String, core.dynamic>)
            : null,
        colorStyle: json_.containsKey('colorStyle')
            ? ColorStyle.fromJson(
                json_['colorStyle'] as core.Map<core.String, core.dynamic>)
            : null,
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
        pointStyle: json_.containsKey('pointStyle')
            ? PointStyle.fromJson(
                json_['pointStyle'] as core.Map<core.String, core.dynamic>)
            : null,
      );