Activity class

Describes the activity information.

Constructors

Activity({CommentMetadata? commentMetadata, UserMetadata? initiator, bool? isIndirectActivity, String? organizationId, ResourceMetadata? originalParent, Participants? participants, ResourceMetadata? resourceMetadata, DateTime? timeStamp, ActivityType? type})
Activity.fromJson(Map<String, dynamic> json)
factory

Properties

commentMetadata CommentMetadata?
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
final
hashCode int
The hash code for this object.
no setterinherited
initiator UserMetadata?
The user who performed the action.
final
isIndirectActivity bool?
Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).
final
organizationId String?
The ID of the organization.
final
originalParent ResourceMetadata?
The original parent of the resource. This is an optional field and is filled for move activities.
final
participants Participants?
The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.
final
resourceMetadata ResourceMetadata?
The metadata of the resource involved in the user action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeStamp DateTime?
The timestamp when the action was performed.
final
type ActivityType?
The activity type.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited