isHermezCompressedAmount static method

bool isHermezCompressedAmount(
  1. HermezCompressedAmount instance
)

@param {HermezCompressedAmount} instance

Implementation

static bool isHermezCompressedAmount(HermezCompressedAmount instance) {
  return instance.type == HERMEZ_COMPRESSED_AMOUNT_TYPE &&
      instance.runtimeType == HermezCompressedAmount;
}