init(rawValue:)
Creates a charging connector type using the provided string.
Declaration
init(rawValue: String)Parameters
- rawValue:
The charging connector type’s string representation.
Discussion
If there isn’t a value of the type that corresponds to the specified rawValue, this initializer returns nil.