Use the repository pattern to give your app access to the Firestore database, read data from the database, and display it as a SwiftUI flash card.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/22029618-beginning-firebase-for-ios/lessons/4