UsageLedger constructor
const
UsageLedger({
- required String sessionId,
- required List<
UsageSegment> segments, - required UsageLedgerTotal total,
- required int chainRecords,
- required String chainHash,
Creates a UsageLedger.
Implementation
const UsageLedger({
required this.sessionId,
required this.segments,
required this.total,
required this.chainRecords,
required this.chainHash,
});