LineDataSourceBuilder class abstract
Builder of lines data source.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
Constructors
- LineDataSourceBuilder(MapContext context)
-
Creates a data source builder instance in the given context.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → LineDataSource - Builds instance of LineDataSource.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withName(
String dataSourceName) → LineDataSourceBuilder - Configures the builder to use the given name for data source.
-
withPolyline(
LineData polyline) → LineDataSourceBuilder - Configures the builder to insert the given polyline in the data source.
-
withPolylines(
List< LineData> polylines) → LineDataSourceBuilder - Configures the builder to insert the given polylines in the data source.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited