OnAppReady class

Implemented types

Constructors

OnAppReady({bool success = false, String error = ''})
OnAppReady.fromJson(Map<String, dynamic> json)
factory
OnAppReady.fromReader(TeleportObjectReader reader)
factory
OnAppReady.fromTeleport(Uint8List data)
factory

Properties

error ↔ String
Why the app did not start, when Success is false: the exception's type and message, on one line and cut to 300 characters. The backend records it on the session's crash and shows it to the app's admins. Empty from a server built before this field was added.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success ↔ bool
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toProtocolMessage(int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage
Frames the message under its type's opcode and payload version. The type's default flags (unreliable for an unreliable message) are added to overrides' own.
override
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

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