toJson method

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

Serializes this message to a JSON map.

Implementation

@override
Map<String, dynamic> toJson() => <String, double>{
  'dx': dx,
  'dy': dy,
};