SessionConfigGroupId constructor

SessionConfigGroupId(
  1. String value
)

Validates and creates a SessionConfigGroupId value.

Implementation

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