volatile property

Future<bool?> get volatile

A setting to determine whether a source's tiles are cached locally. Default value: false.

Implementation

Future<bool?> get volatile async {
  final localStyle = style;
  if (localStyle == null) return null;
  final raw = (await localStyle.getStyleSourceProperty(id, "volatile")).value;
  if (raw == null) return null;
  return raw as bool;
}