Error constructor
Error({
- Error? error,
- WebsocketReconnectStrategy? reconnectStrategy,
Implementation
factory Error({
$0.Error? error,
$0.WebsocketReconnectStrategy? reconnectStrategy,
}) {
final _result = create();
if (error != null) {
_result.error = error;
}
if (reconnectStrategy != null) {
_result.reconnectStrategy = reconnectStrategy;
}
return _result;
}