CandlestickData.fromJson constructor

CandlestickData.fromJson(
  1. Map json_
)

Implementation

CandlestickData.fromJson(core.Map json_)
    : this(
        closeSeries: json_.containsKey('closeSeries')
            ? CandlestickSeries.fromJson(
                json_['closeSeries'] as core.Map<core.String, core.dynamic>)
            : null,
        highSeries: json_.containsKey('highSeries')
            ? CandlestickSeries.fromJson(
                json_['highSeries'] as core.Map<core.String, core.dynamic>)
            : null,
        lowSeries: json_.containsKey('lowSeries')
            ? CandlestickSeries.fromJson(
                json_['lowSeries'] as core.Map<core.String, core.dynamic>)
            : null,
        openSeries: json_.containsKey('openSeries')
            ? CandlestickSeries.fromJson(
                json_['openSeries'] as core.Map<core.String, core.dynamic>)
            : null,
      );