eventPositionTemplate static method

String eventPositionTemplate(
  1. double x,
  2. double y
)

Implementation

static String eventPositionTemplate(double x, double y) {
  return "{\"x\":${x.toStringAsFixed(3)}, \"y\":${y.toStringAsFixed(3)}}";
}