ActivityRow class

Constructors

ActivityRow({String? action, String? actor, String? at, String? detail, int? id, String? key})
Returns a new ActivityRow instance.

Properties

action ↔ String?
Action is one of created, updated, deleted.
getter/setter pair
actor ↔ String?
Actor is the email of the principal who made the change. Empty for a write by an in-process composer; a project key can never appear here, because evaluating flags is all a key may do.
getter/setter pair
at ↔ String?
At is when the change was made, RFC 3339 UTC.
getter/setter pair
detail ↔ String?
Detail is free-form context about the change. Nothing writes it today, so it is absent from every row the store serves.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ int?
ID is the log's own sequence number, rising with each entry. The log is served newest-first, which is this descending.
getter/setter pair
key ↔ String?
Key is the flag that changed. It survives a delete, so the log still names flags the definition store no longer holds.
getter/setter pair
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

Static Methods

fromJson(dynamic value) → ActivityRow?
Returns a new ActivityRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ActivityRow>
mapFromJson(dynamic json) → Map<String, ActivityRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ActivityRow>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.