Reaction class Null safety

Represents a reaction.

Annotations

Constructors

Reaction({required String key, required List<String> userIds, required int updatedAt})
Reaction.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, override
key String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt int
read / write
updatedAts Map<String, int>
@JsonKey(ignore: true), read / write
userIds List<String>
@JsonKey(defaultValue: const []), read / write

Methods

merge(ReactionEvent event) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
override