Keypoint.fromMap constructor

Keypoint.fromMap(
  1. Map map
)

Implementation

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