sendInvokeStaticMethod method

  1. @override
Future<Object?> sendInvokeStaticMethod(
  1. String channelName,
  2. String methodName,
  3. List<Object?> arguments
)
override

Invoke a static method for type channel of channelName.

Implementation

@override
Future<Object?> sendInvokeStaticMethod(
  String channelName,
  String methodName,
  List<Object?> arguments,
) {
  return channel.invokeMethod<Object>(
    MethodChannelMessenger._methodStaticMethod,
    <Object>[channelName, methodName, arguments],
  );
}