PlatformChannelIllegalArgumentError constructor Null safety

PlatformChannelIllegalArgumentError(
  1. String description
)

Constructor that creates a PlatformChannelIllegalArgumentError.

Params:

  • description: the description of the error.

Implementation

factory PlatformChannelIllegalArgumentError(String description) {
  return PlatformChannelIllegalArgumentErrorImpl(description);
}