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; }