record method

Future<DVMeterOutcome> record(
  1. num amount, {
  2. String? idempotencyKey,
  3. DateTime? at,
})

Records amount through the configured DVMeters.

Implementation

Future<DVMeterOutcome> record(
  num amount, {
  String? idempotencyKey,
  DateTime? at,
}) =>
    DVMeters.current
        .record(this, amount, idempotencyKey: idempotencyKey, at: at);