createInstance method

  1. @override
$FinishProcessingPhotoCallback createInstance(
  1. TypeChannelMessenger messenger,
  2. List<Object?> arguments
)
override

Instantiates a new object with arguments.

Implementation

@override
$FinishProcessingPhotoCallback createInstance(
  TypeChannelMessenger messenger,
  List<Object?> arguments,
) {
  function(
    CapturePhoto photo,
  ) {
    implementations.channelFinishProcessingPhotoCallback._invoke(
      function,
      photo,
    );
  }

  return function;
}