fetchedAt property

DateTime? fetchedAt
final

Timestamp of when complete data was last fetched from the server.

  • null: Only partial/basic information is available (e.g., name + ID from a list page)
  • non-null: Complete details have been fetched (e.g., full profile from detail page)

Use this field to:

  • Determine if a detail fetch is needed (null = need to fetch)
  • Implement cache expiration (old timestamp = stale, re-fetch)

Implementation

final DateTime? fetchedAt;