SEP38QuoteResponse.fromJson constructor

SEP38QuoteResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SEP38QuoteResponse.fromJson(Map<String, dynamic> json) =>
    SEP38QuoteResponse(
        json['id'],
        DateTime.parse(json['expires_at']),
        json['total_price'],
        json['price'],
        json['sell_asset'],
        json['sell_amount'],
        json['buy_asset'],
        json['buy_amount'],
        SEP38Fee.fromJson(json['fee']));