fromJSON method

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

Restores this instance from the given JSON object.

Implementation

BoundingSphere fromJSON(Map<String,dynamic> json ) {
	center.fromArray( json['center'] );
	radius = json['radius'];

	return this;
}