registerWith static method

void registerWith(
  1. Registrar registrar
)

Documented.

Implementation

static void registerWith(Registrar registrar) {
  const MethodChannel(
    'trusted_time/monotonic',
  ).setMethodCallHandler(_handleMonotonic);

  const MethodChannel(
    'trusted_time/background',
  ).setMethodCallHandler(_handleBackground);
}