setRegion method
Set a new region for the socket connection
Implementation
void setRegion(String? region) {
_region = region;
emit("region-updated", region);
}
Set a new region for the socket connection
void setRegion(String? region) {
_region = region;
emit("region-updated", region);
}