RpcException.methodNotFound constructor Null safety

RpcException.methodNotFound(
  1. String methodName
)

An exception indicating that the method named methodName was not found.

This should usually be used only by fallback handlers.

Implementation

RpcException.methodNotFound(String methodName)
    : this(error_code.METHOD_NOT_FOUND, 'Unknown method "$methodName".');