Sidecode enum
The layout of a Dutch licence plate.
In a pattern, X stands for a letter and 9 for a digit. The dashes
show where the plate is split when it is written down.
Values
- s1 → const Sidecode
-
XX-99-99.const Sidecode(1, 'XX-99-99') - s2 → const Sidecode
-
99-99-XX.const Sidecode(2, '99-99-XX') - s3 → const Sidecode
-
99-XX-99.const Sidecode(3, '99-XX-99') - s4 → const Sidecode
-
XX-99-XX.const Sidecode(4, 'XX-99-XX') - s5 → const Sidecode
-
XX-XX-99.const Sidecode(5, 'XX-XX-99') - s6 → const Sidecode
-
99-XX-XX.const Sidecode(6, '99-XX-XX') - s7 → const Sidecode
-
99-XXX-9.const Sidecode(7, '99-XXX-9') - s8 → const Sidecode
-
9-XXX-99.const Sidecode(8, '9-XXX-99') - s9 → const Sidecode
-
XX-999-X.const Sidecode(9, 'XX-999-X') - s10 → const Sidecode
-
X-999-XX.const Sidecode(10, 'X-999-XX') - s11 → const Sidecode
-
XXX-99-X.const Sidecode(11, 'XXX-99-X') - s12 → const Sidecode
-
X-99-XXX.const Sidecode(12, 'X-99-XXX') - s13 → const Sidecode
-
9-XX-999.const Sidecode(13, '9-XX-999') - s14 → const Sidecode
-
999-XX-9.const Sidecode(14, '999-XX-9')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - number → int
-
The sidecode number RDW uses, 1 to 14.
final
- pattern → String
-
The layout, for example
99-XX-XX.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
String normalized) → String -
Writes
normalizedwith dashes in the places this layout puts them. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited