registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

static void registerWith(Registrar registrar) {
  final MethodChannel channel = MethodChannel(
      'flutter_native_timezone',
      const StandardMethodCodec(),
      registrar.messenger);
  final FlutterNativeTimezonePlugin instance = FlutterNativeTimezonePlugin();
  channel.setMethodCallHandler(instance.handleMethodCall);
}