updateUsername method

  1. @override
Future<Either<Failure, User?>> updateUsername(
  1. AuthenticationData? authData,
  2. String? username
)
override

Implementation

@override
Future<Either<Failure, User?>> updateUsername(AuthenticationData? authData, String? username) async {
  return super.noSuchMethod(
    Invocation.method(
      #updateUsername,
      [authData, username],
    ),
    returnValue: Future.value(
      right<Failure, User?>(null),
    ),
    returnValueForMissingStub: Future.value(
      right<Failure, User?>(null),
    ),
  );
}