cleanPolyline method

Future<bool> cleanPolyline()

清除所有折线

Implementation

Future<bool> cleanPolyline() async {
  try {
    return await _channel.invokeMethod('cleanPolyline', {});
  } on PlatformException catch (e) {
    print("Failed to clean polyline: '${e.message}'.");
    return false;
  }
}