updateProfile static method

Future<AuthResult> updateProfile(
  1. Map object
)

set user's custom data.

Implementation

static Future<AuthResult> updateProfile(Map object) async {
  final Result result =
      await post('/api/v3/update-profile', jsonEncode(object));
  return AuthResult(result);
}