toList method

  1. @alwaysThrows
  2. @override
List<LatLng> toList()
override

This method is unavailable for this region type: use toOutlines instead

Implementation

@alwaysThrows
@override
List<LatLng> toList() {
  throw UnsupportedError(
    '`toList` is invalid for this region type: use `toOutlines()` instead',
  );
}