toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => {
  'opId': opId,
  'op': op,
  'targetId': ?targetId,
  'locator': ?locator,
  'entry': entry.wire,
  'scopeId': scopeId,
  'allowed': allowed,
  'denyReason': ?denyReason,
  'gate': ?gate,
  'undoRef': undoRef,
  'appliedAt': appliedAt.toUtc().toIso8601String(),
  'toolName': toolName,
  'programId': ?programId,
  'programSha256': ?programSha256,
  'outcome': outcome.wire,
  'mutationCount': ?mutationCount,
  'logBytes': ?logBytes,
};