VehicleType enum Null safety

길안내를 사용할 차종(1~7) 선택

Constants

fifth → const VehicleType

5종 (4축이상 특수화물차)

@JsonValue("5")
const VehicleType(4)
first → const VehicleType

1종 (승용차/소형승합차/소형화물화)

@JsonValue("1")
const VehicleType(0)
fourth → const VehicleType

4종 (3축 대형화물차)

@JsonValue("4")
const VehicleType(3)
second → const VehicleType

2종 (중형승합차/중형화물차)

@JsonValue("2")
const VehicleType(1)
sixth → const VehicleType

6종 (경차)

@JsonValue("6")
const VehicleType(5)
third → const VehicleType

3종 (대형승합차/2축 대형화물차)

@JsonValue("3")
const VehicleType(2)
twoWheel → const VehicleType

이륜차

@JsonValue("7")
const VehicleType(6)
values → const List<VehicleType>

A constant List of the values in this enum, in order of their declaration.

const List<VehicleType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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