ActivityView class

Constructors

ActivityView({String? agent, String? at, String? id, String? kind, String? message})
Returns a new ActivityView instance.

Properties

agent ↔ String?
agent name
getter/setter pair
at ↔ String?
RFC3339 UTC
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID identifies the event, and its shape says which kind it is: a run event carries the run's own id, while an agent event is the agent id suffixed ":created" or ":updated". Unique within a feed, and not an address — there is nothing to fetch it by.
getter/setter pair
kind ↔ String?
invoked|failed|created|updated (from real events)
getter/setter pair
message ↔ String?
Message is the line to render, already bounded: "Invoked
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) → ActivityView?
Returns a new ActivityView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ActivityView>
mapFromJson(dynamic json) → Map<String, ActivityView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ActivityView>>

Constants

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