Session constructor

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

Implementation

Session({
  required this.$id,
  required this.$createdAt,
  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,
});