MFRouteRestriction class

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

restrictCircleArea(MFLocationComponent center, int radius, {List<MFRouteType>? types}) MFRouteRestriction
Initialize a MFRouteRestriction with restrict circle area and route types.
restrictCoordinateBounds(MFViewboxComponent viewbox, {List<MFRouteType>? types}) MFRouteRestriction
Initialize a MFRouteRestriction with restrict rectangle area and route types.
restrictLocation(MFLocationComponent location, {List<MFRouteType>? types}) MFRouteRestriction
Initialize a MFRouteRestriction with restrict one point and route types.
restrictPolygonArea(List<MFLocationComponent> path, {List<MFRouteType>? types}) MFRouteRestriction
Initialize a MFRouteRestriction with restrict polygon area and route types.
restrictRouteTypes(List<MFRouteType>? types) MFRouteRestriction
Initialize a MFRouteRestriction with restrict only route types.