SessionConfigId constructor
SessionConfigId(
- String value
Validates and creates a SessionConfigId value.
Implementation
factory SessionConfigId(String value) {
if (value.isEmpty) {
throw const FormatException('Protocol identifiers must not be empty');
}
return SessionConfigId._(value);
}