WaterfallChartCustomSubtotal.fromJson constructor

WaterfallChartCustomSubtotal.fromJson(
  1. Map json_
)

Implementation

WaterfallChartCustomSubtotal.fromJson(core.Map json_)
    : this(
        dataIsSubtotal: json_.containsKey('dataIsSubtotal')
            ? json_['dataIsSubtotal'] as core.bool
            : null,
        label:
            json_.containsKey('label') ? json_['label'] as core.String : null,
        subtotalIndex: json_.containsKey('subtotalIndex')
            ? json_['subtotalIndex'] as core.int
            : null,
      );