onResonse method

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

Converts the response result to the specified type RESULT.

Implementation

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