fromString static method
Create from string value
Implementation
static MeshConnectionState fromString(String value) {
return MeshConnectionState.values.firstWhere(
(state) => state.name == value,
orElse: () => MeshConnectionState.disconnected,
);
}