fromJSON method

  1. @override
OnPathBehavior fromJSON(
  1. Map<String, dynamic> json
)
override

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;
}