ProfileService class Null safety
Profile remote data source implementation of IProfileService using HttpClient
- Inheritance
- Object
- RestService
- ProfileService
- Implemented types
Constructors
Properties
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