ProfileDataSource class abstract interface

Abstract backend for user profile persistence.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchProfile(String userId) Future<Map<String, dynamic>?>
Fetches the raw profile map for userId, or null if not found.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateProfile(String userId, Map<String, dynamic> data) Future<void>
Persists data for userId (merge-update semantics).
watchProfile(String userId) Stream<Map<String, dynamic>?>
Returns a stream that emits the raw profile map whenever it changes.

Operators

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