fromJson method

  1. @override
Path fromJson(
  1. Map<String, dynamic> json
)
override

Copies the data from the given JSON object to this instance.

Implementation

@override
Path fromJson(Map<String,dynamic> json) {
  super.fromJson(json);

  currentPoint.copyFromArray(json['currentPoint']);
  return this;
}