onResonse method

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

Converts the response result to the specified type RESULT.

Implementation

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