Presence class

Inheritance
Available extensions
Annotations
  • @CopyWith()
  • @HiveType(typeId: 27)

Constructors

Presence.new({required String title, required String author, required DateTime? date, required double position, required String value, required String? emptyIs, required PresenceColor color, required DateTime? visibilityDate, required bool? visible})
Presence.fromJSON(dynamic id, dynamic json, dynamic stats, dynamic line, dynamic column, String user)

Properties

author String
latefinalinherited
color PresenceColor
latefinal
copyWith → _$PresenceCWProxy

Available on Presence, provided by the $PresenceCopyWith extension

Returns a callable class that can be used as follows: instanceOfPresence.copyWith(...) or like so:instanceOfPresence.copyWith.fieldName(...).
no setter
customProps List<Object?>
no setteroverride
date DateTime?
latefinalinherited
emptyIs String?
latefinal
hashCode int
The hash code for this object.
no setterinherited
isVisible bool
no setteroverride
position double
latefinalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
title String
latefinalinherited
value String
latefinal
visibilityDate DateTime?
latefinal
visible bool?
latefinal

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