toJson method

List toJson()

Implementation

List<dynamic> toJson() => coordinates.map((coordinate) => coordinate.toJson()).toList();