fromJSON method

  1. @override
dynamic fromJSON(
  1. dynamic json
)
override

Implementation

@override
fromJSON(json) {
  super.fromJSON(json);

  autoClose = json.autoClose;
  curves = [];

  for (var i = 0, l = json.curves.length; i < l; i++) {
    var curve = json.curves[i];

    throw (" CurvePath fromJSON todo ");
    // this.curves.add( new Curves[ curve.type ]().fromJSON( curve ) );

  }

  return this;
}