object or any datatype in firestore code example
Example: swift store enum case string values in firebase
enum LoginProvider: String {
case Facebook = "facebook"
case Email = "email"
case Google = "google"
case Twitter = "twitter"
}
let provider = LoginProvider.init(rawValue: "email")