ProfileRepository class Null safety

Profile repository implementation for IProfileRepository

Implemented types

Constructors

ProfileRepository()

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

getProfile(String userId) Future<Profile>
Get the profile for the user having userId and return Profile
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
updateProfile(Profile profile) Future
Update the user profile
override
uploadPicture(String userId, File picture) Future<String>
Upload a profile picture for the user having userId and return the url as String
override

Operators

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