WebSettings class

Represents different Web specific settings with which you can set a value other then the default value of the setting.

Inheritance

Constructors

WebSettings({LocationAccuracy accuracy = LocationAccuracy.best, int distanceFilter = 0, Duration maximumAge = Duration.zero, Duration? timeLimit})
Initializes a new WebSpecificSettings instance with default values.

Properties

accuracy LocationAccuracy
Defines the desired accuracy that should be used to determine the location data.
finalinherited
distanceFilter int
The minimum distance (measured in meters) a device must move horizontally before an update event is generated.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
maximumAge Duration
A value indicating the maximum age of a possible cached position that is acceptable to return. If set to 0, it means that the device cannot use a cached position and must attempt to retrieve the real current position. Default: 0
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeLimit Duration?
The timeLimit parameter allows you to specify a timeout interval (by default no time limit is configured).
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes the PlatformSpecificSettings to a map message
override
toString() String
A string representation of this object.
inherited

Operators

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