fromJSON method

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

Restores this instance from the given JSON object.

Implementation

@override
InterposeBehavior fromJSON(Map<String,dynamic> json ) {
	super.fromJSON( json );

	entity1 = json['entity1'];
	entity2 = json['entity2'];
	deceleration = json['deceleration'];

	return this;
}