fromJson static method

Point fromJson(
  1. dynamic coordinates
)

Implementation

static Point fromJson(coordinates) {
  return Point(coordinates[0], coordinates[1]);
}