PlatformChannelError.nullPointerError constructor

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

An error that indicates that a parameter is null in a case where it is required.

Params:

  • description: the description of the error.

Implementation

factory PlatformChannelError.nullPointerError({
  required String description,
}) {
  return PlatformChannelNullPointerError(description);
}