SeatMeta class

Metadata for a single seat cell, combining its occupancy state and class type, plus any app-defined id for backend round-tripping.

Used as the value type in a TypedSeatGrid and returned by SeatController.getSeatMeta.

Constructors

SeatMeta({required SeatState state, SeatType type = SeatType.economy, String? id})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
Optional app-defined identifier (e.g. a backend seat ID).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state SeatState
Occupancy/interaction state (available, booked, selected, disabled, gap).
final
type SeatType
Seat class/category (economy, business, VIP, wheelchair).
final

Methods

copyWith({SeatState? state, SeatType? type, String? id}) SeatMeta
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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