usesChargeAssetTxPayment method

bool usesChargeAssetTxPayment(
  1. dynamic registry
)

Implementation

bool usesChargeAssetTxPayment(dynamic registry) {
  if (registry.getSignedExtensionTypes() is Map) {
    return (registry.getSignedExtensionTypes() as Map)
        .containsKey('ChargeAssetTxPayment');
  }
  return (registry.getSignedExtensionTypes() as List)
      .contains('ChargeAssetTxPayment');
}