myUid top-level property

String get myUid

Implementation

String get myUid {
  if (FirebaseAuth.instance.currentUser == null) {
    throw Exception(
        'myUid is called in chat.functions.dart, but the user is not signed in');
  }
  return FirebaseAuth.instance.currentUser!.uid;
}