Commit 21c50de6 authored by Tuan Anh Nguyen's avatar Tuan Anh Nguyen
Browse files

feat: add auth service

parent 5dd45219
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
import 'package:firebase_auth/firebase_auth.dart';

class AuthService {
  final FirebaseAuth _firebaseAuth = FirebaseAuth.instance;

  Stream<User?> get userStream {
    return _firebaseAuth.authStateChanges();
  }
}