EmailAndSMSAuthMethod.fromMap(Map<String, dynamic> map) : ttl = map['ttl'], ttlDisplayUnit = getTtlDisplayUnit(map);