stack_wallet/lib/services/exchange/exchange_response.dart
2023-02-04 11:15:42 -06:00

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