LineCurve.fromJSON(Map<String, dynamic> json) { super.fromJSON(json); v1.fromArray(json["v1"]); v2.fromArray(json["v2"]); }