storing mixed data type in firebase swift 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")