Session constructor

Session({
  1. required String $id,
  2. required String $createdAt,
  3. required String $updatedAt,
  4. required String userId,
  5. required String expire,
  6. required String provider,
  7. required String providerUid,
  8. required String providerAccessToken,
  9. required String providerAccessTokenExpiry,
  10. required String providerRefreshToken,
  11. required String ip,
  12. required String osCode,
  13. required String osName,
  14. required String osVersion,
  15. required String clientType,
  16. required String clientCode,
  17. required String clientName,
  18. required String clientVersion,
  19. required String clientEngine,
  20. required String clientEngineVersion,
  21. required String deviceName,
  22. required String deviceBrand,
  23. required String deviceModel,
  24. required String countryCode,
  25. required String countryName,
  26. required bool current,
  27. required List<String> factors,
  28. required String secret,
  29. required String mfaUpdatedAt,
})

Implementation

Session({
  required this.$id,
  required this.$createdAt,
  required this.$updatedAt,
  required this.userId,
  required this.expire,
  required this.provider,
  required this.providerUid,
  required this.providerAccessToken,
  required this.providerAccessTokenExpiry,
  required this.providerRefreshToken,
  required this.ip,
  required this.osCode,
  required this.osName,
  required this.osVersion,
  required this.clientType,
  required this.clientCode,
  required this.clientName,
  required this.clientVersion,
  required this.clientEngine,
  required this.clientEngineVersion,
  required this.deviceName,
  required this.deviceBrand,
  required this.deviceModel,
  required this.countryCode,
  required this.countryName,
  required this.current,
  required this.factors,
  required this.secret,
  required this.mfaUpdatedAt,
});