updateAccount method

  1. @override
Future<void> updateAccount({
  1. required Session session,
  2. String? username,
  3. String? displayName,
  4. String? avatarUrl,
  5. String? langTag,
  6. String? location,
  7. String? timezone,
})
override

Implementation

@override
Future<void> updateAccount({
  required model.Session session,
  String? username,
  String? displayName,
  String? avatarUrl,
  String? langTag,
  String? location,
  String? timezone,
}) async {
  _session = session;

  await _api.nakamaUpdateAccount(
      body: ApiUpdateAccountRequest(
          username: username,
          displayName: displayName,
          avatarUrl: avatarUrl,
          langTag: langTag,
          location: location,
          timezone: timezone));
}