Source class abstract base

Base class for all style sources.

Implementers

Constructors

Source({required String id})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the Source.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style StylePlatformInterface?
Platform-interface handle bound via bind once the source is added to a style. Subclasses use it to read volatile properties back from the native runtime.
no setter

Methods

getType() String
Returns the source's type as a String (e.g. "geojson", "vector").
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited