toMap method

Map<String, double> toMap()

Implementation

Map<String, double> toMap() => {'x': x, 'y': y};