onResonse method

  1. @override
SupplyResponse onResonse(
  1. dynamic result
)
override

Converts a dynamic response to the generic type T.

Implementation

@override
SupplyResponse onResonse(result) {
  return SupplyResponse.fromJson(result);
}