SkinContract class

The v1 skin contract: a spec's declared skin surface.

Constructors

SkinContract({required String schemaVersion, required List<ContractRoute> routes, required List<ContractState> states, required List<ContractPlatformRow> platformRows, required List<ContractStateRow> stateRows})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
platformRows List<ContractPlatformRow>
final
routes List<ContractRoute>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaVersion String
final
stateRows List<ContractStateRow>
final
states List<ContractState>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

schemaVersionV1 → const String
sections → const Map<String, List<SkinContractFieldSpec>>
The contract's own field table — the sections the parser requires and the schema generator emits.