copyWith method
Implementation
UpdateConnectionState copyWith({
ConnectionState? state,
}) =>
UpdateConnectionState(
state: state ?? this.state,
);
UpdateConnectionState copyWith({
ConnectionState? state,
}) =>
UpdateConnectionState(
state: state ?? this.state,
);