MeshConnectionStateEvent class

Event containing mesh connection state and optional details

Constructors

MeshConnectionStateEvent({required MeshConnectionState state, String? error, String? details})
const
MeshConnectionStateEvent.fromMap(Map<String, dynamic> map)
Create from map received from platform channel
factory

Properties

details String?
Additional information about the state
final
error String?
Error message if state is error
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state MeshConnectionState
Current connection state
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert to map for platform channel communication
toString() String
A string representation of this object.
override

Operators

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