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;
}