onResonse method

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

Converts a dynamic response to the generic type T.

Implementation

@override
TransactionInfo? onResonse(result) {
  if (result == null) return null;
  return TransactionInfo.fromJson(result);
}