removeStylePack method

Future<StylePack> removeStylePack(
  1. String styleURI
)

Removes a style package.

Removes a style package from the existing packages list. The actual resources eviction might be deferred. All pending loading operations for the style package with the given id will fail with Canceled error.

styleURI: The URI of the style package's associated style.

Implementation

Future<StylePack> removeStylePack(String styleURI) =>
    _impl.removeStylePack(styleURI);