MapStyleSpec class
Represents MapStyleSpec object
Constructors
-
MapStyleSpec({required List<
MapStyler> ? stylers, String? elementType, String? featureType}) - Default constructor. Creates MapStyleSpec object.
-
MapStyleSpec.fromJson(Map<
String, dynamic> json) - Create object from the given JSON data.
Properties
- elementType ↔ String?
-
The group of elements, to which stylers will be applied. default value: “all”
getter/setter pair
- featureType ↔ String?
-
The group of feature, to which stylers will be applied. default value: “all”
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stylers
↔ List<
MapStyler> ? -
the rules to apply to the selected features and elements. Stylers indicate the color, visibility, and weight of the feature. You can apply one or more stylers to a feature.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns JSON representation of the object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited