url property

Future<String?> get url

URL that points to an image. If the URL is not specified, the image is expected to be loaded directly during runtime.

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;
    }
  });
}