PlatformChannelError.wrongOperationTypeError constructor Null safety

PlatformChannelError.wrongOperationTypeError(
  1. {required String operationId}
)

An error that indicates that an operation with the given identifier has wrong type.

Params:

  • operationId: the id of the operation.

Implementation

factory PlatformChannelError.wrongOperationTypeError({
  required String operationId,
}) {
  return PlatformChannelWrongOperationTypeError(operationId);
}