toJson method Null safety
override
Serializes this message to a JSON map.
Implementation
@override
Map<String, dynamic> toJson() => <String, double>{
'dx': dx,
'dy': dy,
};
Serializes this message to a JSON map.
@override
Map<String, dynamic> toJson() => <String, double>{
'dx': dx,
'dy': dy,
};