Scheme.set constructor
Scheme.set(
- String fromName
Initializes a scheme using the provided name.
The name is case-insensitive. Retrieves the integer value of the scheme from the C++ backend.
Implementation
Scheme.set(String fromName) {
String lowerName = fromName.toLowerCase();
value = _c_string_to_scheme_type(lowerName.toNativeUtf8());
raiseForStatus();
name = fromName;
}