data property

Future<String?> get data

A URL to a GeoJSON file, or inline GeoJSON.

Implementation

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