CandlestickDomain.fromJson constructor

CandlestickDomain.fromJson(
  1. Map json_
)

Implementation

CandlestickDomain.fromJson(core.Map json_)
    : this(
        data: json_.containsKey('data')
            ? ChartData.fromJson(
                json_['data'] as core.Map<core.String, core.dynamic>)
            : null,
        reversed: json_.containsKey('reversed')
            ? json_['reversed'] as core.bool
            : null,
      );