readQuote method

Future<(UResponse<UGoldQuoteResponse>?, UEmptyResponse?, String?)> readQuote({
  1. required UGoldQuoteParams p,
  2. dynamic onOk(
    1. UResponse<UGoldQuoteResponse> r
    )?,
  3. dynamic onError(
    1. UEmptyResponse e
    )?,
  4. dynamic onException(
    1. String e
    )?,
})

Implementation

Future<(UResponse<UGoldQuoteResponse>?, UEmptyResponse?, String?)> readQuote({
  required UGoldQuoteParams p,
  Function(UResponse<UGoldQuoteResponse> r)? onOk,
  Function(UEmptyResponse e)? onError,
  Function(String e)? onException,
}) => _Api.call("/Gold/ReadQuote", p.toMap(), _Api.one(UGoldQuoteResponse.fromMap), _Api.empty, onOk, onError, onException);