difference method

  1. @override
Duration difference(
  1. DateTime other
)
override

Returns a Duration with the difference between this and other.

Implementation

@override
Duration difference(DateTime other) => _native.difference(_toNative(other));