onResonse method

  1. @override
FeeHistory? onResonse(
  1. dynamic result
)
override

Converts a dynamic response to the generic type T.

Implementation

@override
FeeHistory? onResonse(result) {
  if (result == null || result['gasUsedRatio'] == null) return null;
  return FeeHistory.fromJson(result);
}