changeName method

  1. @override
Future<User?> changeName(
  1. String value
)
override

Implementation

@override
Future<User?> changeName(String value) async {
  var user = await getUser();

  await user?.updateDisplayName(value);

  return user;
}