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 {
  return _style?.getStyleSourceProperty(id, "volatile").then((value) {
    if (value.value != null) {
      return value.value as bool;
    } else {
      return null;
    }
  });
}