onResonse method

  1. @override
List<ADATransactionWithdrawalResponse> onResonse(
  1. List<Map<String, dynamic>> result
)
override

Converts the response result to the specified type RESULT.

Implementation

@override
List<ADATransactionWithdrawalResponse> onResonse(
    List<Map<String, dynamic>> result) {
  return result
      .map((e) => ADATransactionWithdrawalResponse.fromJson(e))
      .toList();
}