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