UsageLedger constructor

const UsageLedger({
  1. required String sessionId,
  2. required List<UsageSegment> segments,
  3. required UsageLedgerTotal total,
  4. required int chainRecords,
  5. required String chainHash,
})

Creates a UsageLedger.

Implementation

const UsageLedger({
  required this.sessionId,
  required this.segments,
  required this.total,
  required this.chainRecords,
  required this.chainHash,
});