PortalEventData class

A single event delivered through the Portal.events broadcast stream.

Constructors

PortalEventData({required String name, required PortalEvent? event, required dynamic data})
const

Properties

data → dynamic
Decoded payload — may be a Map, List, String, num, bool, or null, depending on the JSON shape the native side produced.
final
event PortalEvent?
The event that was emitted. Null if the native SDK dispatched an event name not yet known to this Flutter SDK version.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The raw event name as emitted. Always populated, even when the name is one the Flutter SDK does not yet recognize as a PortalEvent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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