UsageUpdate constructor

UsageUpdate({
  1. required AcpUint64 used,
  2. required AcpUint64 size,
  3. AcpPatch<Cost> cost = const AcpPatch<Cost>.unchanged(),
  4. AcpJsonObject? meta,
})

Creates a UsageUpdate value.

Implementation

UsageUpdate({
  required this.used,
  required this.size,
  this.cost = const AcpPatch<Cost>.unchanged(),
  this.meta,
});