removeSource method

  1. @override
Future<void> removeSource(
  1. String sourceId
)
override

Implementation

@override
Future<void> removeSource(String sourceId) async {
  try {
    return await _channel.invokeMethod(
      'style#removeSource',
      <String, Object>{'sourceId': sourceId},
    );
  } on PlatformException catch (e) {
    return new Future.error(e);
  }
}