Skip to Content
API ReferenceModelsRoutingStatusOption

RoutingStatusOption

Routing status combined with the current step index.

Constructors

RoutingStatusOption.new

RoutingStatusOption.new(RoutingStatus status, int currentStep)

Creates a RoutingStatusOption with the given status and currentStep. const

RoutingStatusOption.fromJson

RoutingStatusOption.fromJson(Map<Object?, Object?> json)

factory

Properties

PropertyTypeDescription
currentStepintThe index of the current route step, or -1 if no route is active. (final)
statusRoutingStatusThe current routing status. (final)

Methods

toJson

toJson() → Map<Object?, Object?>
Last updated on