StorageCostInfo class
Storage cost breakdown for a blob.
Corresponds to TS SDK's storageCost() return value.
Constructors
- StorageCostInfo({required BigInt storageCost, required BigInt writeCost})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageCost → BigInt
-
Cost in WAL for reserving storage space.
final
- totalCost → BigInt
-
Total cost (storageCost + writeCost).
no setter
- writeCost → BigInt
-
Cost in WAL for writing the blob.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited