url property

Future<String?> url

A URL to a TileJSON resource. Supported protocols are http:, https:, and mapbox://<Tileset ID>.

Implementation

Future<String?> get url async {
  return _style?.getStyleSourceProperty(id, "url").then((value) {
    if (value.value != null) {
      return value.value as String;
    } else {
      return null;
    }
  });
}