fromJSON method
Restores this instance from the given JSON object.
Implementation
@override
OnPathBehavior fromJSON(Map<String,dynamic> json ) {
super.fromJSON( json );
path.fromJSON( json['path'] );
radius = json['radius'];
predictionFactor = json['predictionFactor'];
return this;
}