Activity class Null safety
Constructors
-
Activity({@JsonString() required String id, @JsonDateTime() required DateTime created, @JsonDateTime() required DateTime updated, required String archiveId, required String accountId, required String appId, @JsonDateTime() required DateTime timestamp, required String name, required String type, required String source, @JsonExtra() @Default({}) Map<
String, dynamic> extra}) -
constfactory
-
Activity.fromJson(Map<
String, dynamic> data) -
Creates a Activity from Json map
factory
Properties
- accountId → String
-
accountId is the source node.
read-onlyinherited
- appId → String
-
appId is the source node.
read-onlyinherited
- archiveId → String
-
read-onlyinherited
-
copyWith
→ $ActivityCopyWith<
Activity> -
read-onlyinherited
- created → DateTime
-
read-onlyinherited
-
extra
→ Map<
String, dynamic> -
extra is a map of additional properties.
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id → String
-
read-onlyinherited
-
labels
→ List<
String> -
labels is a list of labels assigned to the model.
final
- name → String
-
name is the name used by the Activity on the App.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- source → String
-
emailis the email used by the Activity on the App.read-onlyinherited - sourceId → String
-
sourceId is unself unique identifier for the source node.
read-onlyoverride
- targetId → String
-
targetId is unself unique identifier for the target node.
read-onlyoverride
- timestamp → DateTime
-
timestamp is the date and time of the Activity by the App.
read-onlyinherited
- type → String
-
type is the type of the Activity on the App.
read-onlyinherited
- updated → DateTime
-
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited