Instance class

Available extensions
Annotations
  • @DaoType.new(name: 'instance')

Constructors

Instance({required String id, required String serviceName, required DateTime lastHeartbeat, required DateTime createTimestamp})

Properties

bean → _InstanceDataBeanImpl
no setterinherited
createTimestamp DateTime
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
lastHeartbeat DateTime
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String
final

Methods

copyWith({String? id, String? serviceName, DateTime? lastHeartbeat, DateTime? createTimestamp}) Instance

Available on Instance, provided by the InstanceCopyExtension extension

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

Operators

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