Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abstract class BaseAuth {
- Future<String> signIn(String email, String password);
- }
- class Auth implements BaseAuth {
- Future<String> signIn(String email, String password) async {
- FirebaseUser user = await FirebaseAuth.instance.signInWithEmailAndPassword(email: email, password: password);
- return user.uid;
- }
- }
Add Comment
Please, Sign In to add comment