PlatformChannelNullPointerError constructor Null safety

PlatformChannelNullPointerError(
  1. String description
)

Constructor that creates a PlatformChannelNullPointerError.

Params:

  • description: the description of the error.

Implementation

factory PlatformChannelNullPointerError(String description) {
  return PlatformChannelNullPointerErrorImpl(description);
}