updateUsername method

  1. @override
Future<Result<Account>> updateUsername(
  1. String username
)
override

Implementation

@override
Future<Result<Account>> updateUsername(String username) async {
  final result = await AuthClient.updateProfile({"username": username});
  return result.toOddsAccountResult();
}