Point constructor

Point(
  1. Map<String, dynamic> nativePoint
)

Implementation

Point(Map<String, dynamic> nativePoint) {

    this.x = nativePoint['x'] != null? nativePoint['x']*1.0 : null;
    this.y = nativePoint['y'] != null? nativePoint['y']*1.0 : null;
}