toJson method

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

Serializes an object

Implementation

@override
Map<String, dynamic> toJson() => {'id': id, 'Point': point.toJson()};