InitInternalContext class

Inheritance

Constructors

InitInternalContext({required InternalEventInitData data, dynamic raw})
raw is set when the context came from an SDK payload, and is what ships — InternalEventInitData models a fixed set of fields, so re-serializing it would drop anything a newer native SDK added.
const
InitInternalContext.fromJson(Map<String, dynamic> json)
factory

Properties

data InternalEventInitData
final
event String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
rawValue → dynamic
A deep copy of the payload — mutating what comes back cannot change what is sent. Null when this context was built in Dart rather than parsed.
no setterinherited
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
toJson() Map<String, dynamic>
The typed view, for reading. Programmatically-built contexts have no raw payload, so this is also what ships for them.
override
toString() String
A string representation of this object.
inherited
toWireValue() → dynamic
What CxRumEvent.toJson emits: the original payload when there is one.
inherited

Operators

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