toJSON method

  1. @override
Map<String, dynamic> toJSON()
override

Transforms this instance into a JSON object.

Implementation

@override
Map<String,dynamic> toJSON() {
	final json = super.toJSON();

	json['path'] = path.toJSON();
	json['radius'] = radius;
	json['predictionFactor'] = predictionFactor;

	return json;
}