init(_:)
Creates an operation from the given string.
Declaration
init(_ rawValue: String)Parameters
- rawValue:
The name of the operation.
Discussion
Typically you use one of the predefined operations, like operationLogin, instead of initializing one from a string.