dstOffset property

Duration get dstOffset

Daylight Saving Time (DST) offset for the resolved timezone.

Returns Duration.zero when no DST is applicable for the requested timestamp and location.

Implementation

Duration get dstOffset {
  final OperationResult resultString = objectMethod(
    pointerId,
    'TimezoneResult',
    'dstOffset',
  );
  return Duration(seconds: resultString['result']);
}