TransactionConfirmation class

Annotations
  • @freezed

Constructors

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

Properties

copyWith → $TransactionConfirmationCopyWith<TransactionConfirmation>
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