PlatformChannelError.unknownError constructor Null safety

PlatformChannelError.unknownError(
  1. {required String? description}
)

An error that indicates that something failed during a platform call.

Params:

  • description: the description of the error.

Implementation

factory PlatformChannelError.unknownError({
  required String? description,
}) {
  return PlatformChannelUnknownError(description);
}