SharePayload class final

Decoded share-code payload.

Annotations

Constructors

SharePayload({required int familyId, required int engineVersion, required int seed, ThemeIntent? intent, bool centred = false, String? name})
const

Properties

centred → bool
Whether a steered theme was generated centred on its intent.
final
engineVersion → int
Generator version, 0–63.
final
familyId → int
Stable family id (ThemeFamily.id), or shareFamilyHero.
final
hashCode → int
The hash code for this object.
no setteroverride
intent → ThemeIntent?
The steering intent of a steered code (without families or name); null for a plain code.
final
isHero → bool
Whether this names a hand-crafted hero theme.
no setter
name → String?
The theme name a link carried (?name=); never part of the code.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seed → int
32-bit seed (hero id for heroes).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override
withName(String? name) → SharePayload
This payload with name set.

Operators

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