onResonse method

  1. @override
List<AccountBalancePairResponse> onResonse(
  1. dynamic result
)
override

Converts a dynamic response to the generic type T.

Implementation

@override
List<AccountBalancePairResponse> onResonse(result) {
  return (result as List)
      .map((e) => AccountBalancePairResponse.fromJson(e))
      .toList();
}