Activity class

Constructors

Activity({String? actor, String? message, String? object, String? origin, ActivityEntity? subject, DateTime? time, String? title, String? verb})
Returns a new Activity instance.

Properties

actor String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
message String?
getter/setter pair
object String?
getter/setter pair
origin String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject ActivityEntity?
getter/setter pair
time DateTime?
getter/setter pair
title String?
getter/setter pair
verb String?
getter/setter pair

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(Map<String, dynamic>? json) Activity?
Returns a new Activity instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<Activity>
mapFromJson(Map<String, dynamic>? json) Map<String, Activity>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<Activity>>