FakeEvent class final

One event of the log, durable (with seq) or ephemeral.

Constructors

FakeEvent(JsonMap envelope, {String? audience, Set<String>? devices})
Creates the event.
const

Properties

audience → String?
The only receiver of a personal event.
final
devices → Set<String>?
The devices of audience an ephemeral event goes to (notification.created, 13 4.6), or null for every connection that may receive it.
final
envelope → JsonMap
The envelope as sent (04 2.2).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → JsonMap
The scope.
no setter
seq → int?
The global seq, or null for an ephemeral event.
no setter
type → String
The event type.
no setter

Methods

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

Operators

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