utcOffset property

Duration get utcOffset

Get the UTC offset without DST.

Can be negative.

Implementation

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