ActivityLog class

Mixed in types
Annotations
  • @freezed

Constructors

ActivityLog({String? batch, required String event, String? ip, required bool isApi, String? description, @JsonKey(fromJson: activityLogPropertiesFromJson) required JsonMap properties, required bool hasAdditionalMetadata, required DateTime timestamp, ActivityLogRelationships? relationships})
hasAdditionalMetadata is set to true if properties contains a key that isn't useragent or ip.
const
factory
ActivityLog.fromJson(JsonMap json)
factory

Properties

batch String?
no setterinherited
copyWith → $ActivityLogCopyWith<ActivityLog>
no setterinherited
description String?
no setterinherited
event String
no setterinherited
hasAdditionalMetadata bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ip String?
no setterinherited
isApi bool
no setterinherited
properties Map<String, dynamic>
no setterinherited
relationships ActivityLogRelationships?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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