fromJSON method

SteeringBehavior fromJSON(
  1. Map<String, dynamic> json
)

Restores this instance from the given JSON object.

Implementation

SteeringBehavior fromJSON(Map<String,dynamic> json ) {
	active = json['active'];
	weight = json['weight'];

	return this;
}