durationPrecision property

TimePrecision? durationPrecision
final

Defines the level of precision of DateTime and Duration fields.

When left null, will assume the value configured in build.yaml or DateTimePrecision.microseconds

This property is new in version 3.0.0. Versions below 3.0.0 mapped to a millisecond precision.

Implementation

final TimePrecision? durationPrecision;