receiveFragment property

AbiReceiveFragment? get receiveFragment

Implementation

AbiReceiveFragment? get receiveFragment {
  try {
    return fragments
            .firstWhere((element) => element.type == FragmentTypes.receive)
        as AbiReceiveFragment?;
  } on StateError {
    return null;
  }
}