79148061

Date: 2024-11-01 12:59:13
Score: 1
Natty:
Report link

You can use DateTime to write to Firestore (internaly will be converted to Timestamp). Use DateTime in your models. Then write some function that replace Timestamp to DateTime when you receive json from Firestore before using .fromJson.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Evandro Bubiak