toWKT method
Converts the MultiLineString to a String in WKT format.
Example:
MultiLineString([[Coordinate(1, 2), Coordinate(3, 4)]]).toWKT(); // MULTILINESTRING((1 2, 3 4))
Implementation
@override
String toWKT() {
return 'MULTILINESTRING(${coordinates.map((line) => "(${line.map((point) => point.toWKT()).toList().join(',')})").join(',')})';
}