updateSource method

Future<void> updateSource(
  1. Source source
)

Updates an existing source. Serializes the source to JSON and forwards to StylePlatformInterface.setStyleSourceProperties.

Implementation

Future<void> updateSource(Source source) =>
    _impl.setStyleSourceProperties(source.id, source.encode(volatile: true));