Ticket class abstract
Ticket
Properties:
- issueAddress - The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters
- issueDate - The date that the ticket was issued to the passenger. * minLength: 10 characters * maxLength: 10 characters * Format ISO 8601: yyyy-MM-dd
- number - The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not start with a space or be all spaces. * Must not be all zeros.
- Annotations
-
- @BuiltValue.new()
Constructors
- Ticket([void updates(TicketBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- issueAddress → String?
-
The address of the organization that issued the ticket. * minLength: 0 characters * maxLength: 16 characters
no setter
- issueDate → Date?
-
The date that the ticket was issued to the passenger. * minLength: 10 characters * maxLength: 10 characters * Format ISO 8601: yyyy-MM-dd
no setter
- number → String?
-
The ticket's unique identifier. * minLength: 1 character * maxLength: 15 characters * Must not start with a space or be all spaces. * Must not be all zeros.
no setter
- 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
-
rebuild(
dynamic updates(TicketBuilder)) → Ticket -
Rebuilds the instance.
inherited
-
toBuilder(
) → TicketBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Ticket> -
no setter