MeshConnectionStateEvent.fromMap constructor
Create from map received from platform channel
Implementation
factory MeshConnectionStateEvent.fromMap(Map<String, dynamic> map) {
return MeshConnectionStateEvent(
state: MeshConnectionState.fromString(map['state'] as String),
error: map['error'] as String?,
details: map['details'] as String?,
);
}