Coordinate.random constructor Null safety
Returns a random Coordinate. This is useful for testing.
Example:
Coordinate.random();
Implementation
factory Coordinate.random() {
return Coordinate(
Random().nextDouble() * 180 - 90, Random().nextDouble() * 360 - 180);
}