createCartesianCoordinate function

CartesianCoordinate createCartesianCoordinate(
  1. Map map
)

Implementation

CartesianCoordinate createCartesianCoordinate(Map map) {
  return CartesianCoordinate(
    x: (map["x"] ?? 0).toDouble(),
    y: (map["y"] ?? 0).toDouble(),
  );
}