mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-05 20:07:44 +00:00
13 lines
310 B
Dart
13 lines
310 B
Dart
import 'package:stackwallet/exceptions/exchange/exchange_exception.dart';
|
|
|
|
class ExchangeResponse<T> {
|
|
late final T? value;
|
|
late final ExchangeException? exception;
|
|
|
|
ExchangeResponse({this.value, this.exception});
|
|
|
|
@override
|
|
String toString() {
|
|
return "{error: $exception, value: $value}";
|
|
}
|
|
}
|