invokeMethod method

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

Invoke a method on instance for a type channel.

Implementation

@override
Object? invokeMethod(
  TypeChannelMessenger messenger,
  covariant $FinishProcessingPhotoCallback instance,
  String methodName,
  List<Object?> arguments,
) {
  return instance(
    arguments[0] as CapturePhoto,
  );
}