toJsonMap method

Map<String, double> toJsonMap()

Encodes this transform into a JSON-friendly map.

This is shared between JSON serialization and action events payloads.

Implementation

Map<String, double> toJsonMap() {
  return <String, double>{'a': a, 'b': b, 'c': c, 'd': d, 'tx': tx, 'ty': ty};
}