TransactionConfirmation class

Annotations
  • @freezed

Constructors

TransactionConfirmation({required String transactionAddress, @Default.new(0) int nbConfirmations, @Default.new(0) int maxConfirmations, @Default.new(0.0) double ratio, @Default.new(true) bool ratioEqualIncluded})
const
factory

Properties

copyWith → $TransactionConfirmationCopyWith<TransactionConfirmation>
Create a copy of TransactionConfirmation with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isEnoughConfirmed → bool
no setter
isFullyConfirmed → bool
no setter
maxConfirmations → int
no setterinherited
nbConfirmations → int
no setterinherited
ratio → double
no setterinherited
ratioEqualIncluded → bool
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transactionAddress → String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

isEnoughConfirmations(int nbConfirmations, int maxConfirmations, double ratio, {bool ratioEqualIncluded = true}) → bool