PlatformChannelError.mappingError constructor

PlatformChannelError.mappingError({
  1. required String description,
})

An error that indicates that the mapping failed during a platform call.

Params:

  • description: the description of the error.

Implementation

factory PlatformChannelError.mappingError({
  required String description,
}) {
  return PlatformChannelMappingError(description);
}