ComputerHistoryEntry class

Available extensions
Annotations
  • @CopyWith.new()
  • @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

ComputerHistoryEntry({required String id, required String action, required ComputerHistoryEntryActorTypeEnum actorType, required String? actorId, required String? actorName, required Map<String, Object?> metadata, required DateTime createdAt})
Returns a new ComputerHistoryEntry instance.
ComputerHistoryEntry.fromJson(Map<String, dynamic> json)
factory

Properties

action → String
computer.started, computer.slept, computer.restarted, computer.reset, computer.erased, checkpoint.created, checkpoint.restored, computer.storage_cleaned, computer.process_stopped, computer.updated
final
actorId → String?
final
actorName → String?
final
actorType → ComputerHistoryEntryActorTypeEnum
final
copyWith → _$ComputerHistoryEntryCWProxy

Available on ComputerHistoryEntry, provided by the $ComputerHistoryEntryCopyWith extension

Returns a callable class used to build a new instance with modified fields. Example: instanceOfComputerHistoryEntry.copyWith(...) or instanceOfComputerHistoryEntry.copyWith.fieldName(...).
no setter
createdAt → DateTime
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
metadata → Map<String, Object?>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override