setTestOverrides static method

  1. @visibleForTesting
void setTestOverrides({
  1. _Now? now,
  2. _GetCallbackHandle? getCallbackHandle,
})

This is exposed for the unit tests. It should not be accessed by users of the plugin.

Implementation

@visibleForTesting
static void setTestOverrides({
  _Now? now,
  _GetCallbackHandle? getCallbackHandle,
}) {
  _now = (now ?? _now);
  _getCallbackHandle = (getCallbackHandle ?? _getCallbackHandle);
}