PhotoLikeDataStorage class Null safety

Interface for storing photo likes.

Implementers

Constructors

PhotoLikeDataStorage()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getPhotoLike({required String photoId}) Future<bool>
Returns if a given photo has been liked by the user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setPhotoLike({required String photoId, required bool like}) Future<void>
Updates stored like value for a given photo id.
toString() String
A string representation of this object. [...]
inherited

Operators

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