Timestamp.rfc3339 constructor

Timestamp.rfc3339({
  1. Timezone? timezone,
})

Creates a Timestamp using RFC 3339 format (identical to ISO 8601).

Format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

Example output: 2025-12-18T16:04:56.789+03:30

Implementation

factory Timestamp.rfc3339({final Timezone? timezone}) => Timestamp(
      formatter: TimestampFormatter.iso8601Pattern,
      timezone: timezone,
    );