GraphInteractionsSpec.fromJson constructor

GraphInteractionsSpec.fromJson(
  1. Json j
)

Implementation

factory GraphInteractionsSpec.fromJson(Json j) => GraphInteractionsSpec(
      dragPan: _b(j['dragPan'], true),
      wheelZoom: _b(j['wheelZoom'], true),
      pinchZoom: _b(j['pinchZoom'], true),
      axisScale: _b(j['axisScale'], true),
      doubleTapReset: _b(j['doubleTapReset'], true),
      fling: _b(j['fling'], true),
    );