onResonse method

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

Converts a dynamic response to the generic type T.

Implementation

@override
onResonse(result) {
  if (_function != null) {
    return _function!.decodeOutput(BytesUtils.fromHexString(result));
  }

  return super.onResonse(result);
}