ProfileService class Null safety

Profile remote data source implementation of IProfileService using HttpClient

Inheritance
Implemented types

Constructors

ProfileService()

Properties

client Client
late, final, inherited
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<ProfileModel>
Get the profile and return it as ProfileModel
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(ProfileModel profile) Future<ProfileModel>
Update the profile and return it as ProfileModel
override
uploadPicture(String userId, File picture) Future<String>
Upload a profile picture and return the url as String
override

Operators

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