Point.fromMap constructor

Point.fromMap(
  1. Map map
)

Implementation

factory Point.fromMap(Map<dynamic, dynamic> map) {
  return Point(
    MapConverter.safeGetDouble(map, 'x'),
    MapConverter.safeGetDouble(map, 'y'),
  );
}