fee property

Amount? get fee

Implementation

Amount? get fee {
  if (feeInfo is EvmFeeInformation) {
    return (feeInfo as EvmFeeInformation).maxFee;
  }
  if (feeInfo is TronFeeInformation) {
    return (feeInfo as TronFeeInformation).feeLimit;
  }
  if (feeInfo is UtxoFeeInformation) {
    return (feeInfo as UtxoFeeInformation).fee;
  }
  return null;
}