subtract method Null safety

  1. @override
TZDateTime subtract(
  1. Duration duration
)
override

Returns a new TZDateTime instance with duration subtracted from this.

Implementation

@override
TZDateTime subtract(Duration duration) =>
    TZDateTime.from(_native.subtract(duration), location);