Revert allowing nullable values for input and refund addresses

This commit is contained in:
OmarHatem 2022-12-01 18:21:19 +02:00
parent 47764835c3
commit cbe31aa5aa

View file

@ -128,8 +128,8 @@ class ChangeNowExchangeProvider extends ExchangeProvider {
final responseJSON = json.decode(response.body) as Map<String, dynamic>;
final id = responseJSON['id'] as String;
final inputAddress = responseJSON['payinAddress'] as String?;
final refundAddress = responseJSON['refundAddress'] as String?;
final inputAddress = responseJSON['payinAddress'] as String;
final refundAddress = responseJSON['refundAddress'] as String;
final extraId = responseJSON['payinExtraId'] as String?;
return Trade(