invokeMethod method

  1. @override
Object? invokeMethod(
  1. TypeChannelMessenger messenger,
  2. $CaptureDevice instance,
  3. String methodName,
  4. List<Object?> arguments,
)
override

Invoke a method on instance for a type channel.

Implementation

@override
Object? invokeMethod(
  TypeChannelMessenger messenger,
  $CaptureDevice instance,
  String methodName,
  List<Object?> arguments,
) {
  switch (methodName) {
  }

  throw ArgumentError.value(
    instance,
    'instance',
    'Unable to invoke method `$methodName` on',
  );
}