SessionConfigValueId constructor

SessionConfigValueId(
  1. String value
)

Validates and creates a SessionConfigValueId value.

Implementation

factory SessionConfigValueId(String value) {
  if (value.isEmpty) {
    throw const FormatException('Protocol identifiers must not be empty');
  }
  return SessionConfigValueId._(value);
}