updateProfile method
Implementation
Future<Null> updateProfile(Map<String, String> profile,
{bool fetch = true}) async {
await api.authReq("User/@/Profile", method: "PATCH", body: profile);
if (fetch) {
await fetchLogin();
}
}
Future<Null> updateProfile(Map<String, String> profile,
{bool fetch = true}) async {
await api.authReq("User/@/Profile", method: "PATCH", body: profile);
if (fetch) {
await fetchLogin();
}
}