mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +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}";
|
|
}
|
|
}
|