mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-27 13:59:21 +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}";
|
|
}
|
|
}
|