registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

static void registerWith(Registrar registrar) {
  // ignore: unused_local_variable
  final MethodChannel channel = MethodChannel(
    'com.ant_media_flutter/ant_media_flutter',
    const StandardMethodCodec(),
    registrar, // the registrar is used as the BinaryMessenger
  );
  // ignore: unused_local_variable
  final AntMediaFlutter instance = AntMediaFlutter();
}