DirectusActivity class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

DirectusActivity({String? action, String? collection, String? comment, int? id, String? ip, Object? item, DateTime? timestamp, Object? user, String? userAgent})
DirectusActivity.fromJson(Map<String, Object?> json)
Used for code generation
factory

Properties

action String?
What action is performed. For example create
getter/setter pair
collection String?
Name of the collection.
getter/setter pair
comment String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
ip String?
getter/setter pair
item Object?
It's int or String.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime?
getter/setter pair
user Object?
User that performed action. Either String or DirectusUser.
getter/setter pair
userAgent String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Used for code generation
toString() String
A string representation of this object.
inherited

Operators

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