GreetingOptions class

How the greeting is shown (dashboard: website settings → greeting).

Annotations

Constructors

GreetingOptions({bool enabled = true, bool onMobile = true, GreetingSender sender = GreetingSender.none, int teaserSeconds = 0})
Creates greeting options.
const
GreetingOptions.fromJson(Json j)
Parses the wire shape; missing flags default to showing the greeting.
factory

Properties

enabled → bool
Show the greeting at all.
final
hashCode → int
The hash code for this object.
no setterinherited
onMobile → bool
Show it on phones too.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → GreetingSender
Who signs it.
final
teaserSeconds → int
Web only: seconds before the greeting pops over the closed launcher (0 = never).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
The wire shape.
toString() → String
A string representation of this object.
inherited

Operators

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