PlatformChannelError.illegalArgument constructor

PlatformChannelError.illegalArgument(
  1. {required String description}
)

An error that indicates that an illegal or inappropriate parameter has been passed to a method.

Params:

  • description: the description of the error.

Implementation

factory PlatformChannelError.illegalArgument({
  required String description,
}) {
  return PlatformChannelIllegalArgumentError(description);
}