Heartbeat class

Annotations
  • @Freezed()

Constructors

Heartbeat({@JsonKey(name: 'created_at') required String createdAt, @JsonKey(name: 'is_write') bool? isWrite, @JsonKey(name: 'machine_name_id') required String machineNameId, @JsonKey(name: 'user_agent_id') required String userAgentId, @JsonKey(name: 'user_id') required String userId, required String category, required List<String> dependencies, required String entity, required String id, required int lines, required double time, required String type, String? branch, int? cursorpos, String? language, int? lineno, String? project})
const
factory
Heartbeat.fromJson(Map<String, dynamic> json)
factory

Properties

branch String?
no setterinherited
category String
no setterinherited
copyWith → $HeartbeatCopyWith<Heartbeat>
no setterinherited
createdAt String
no setterinherited
cursorpos int?
no setterinherited
dependencies List<String>
no setterinherited
entity String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
isWrite bool?
no setterinherited
language String?
no setterinherited
lineno int?
no setterinherited
lines int
no setterinherited
machineNameId String
no setterinherited
project String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time double
no setterinherited
type String
no setterinherited
userAgentId String
no setterinherited
userId String
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