BonsoirServiceNormalizer class
Contains various methods that helps conforming to RFC 6335 and RFC 6763.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
normalizeAttributes(
Map< String, String> attributes, {bool limitKeyLength = false}) → Map<String, String> -
Normalizes a given service
attributes
. -
normalizeName(
String name) → String -
Normalizes a given service
name
. -
normalizeType(
String type) → String -
Normalizes a given service
type
.
Constants
- defaultServiceName → const String
- The default service name.
- defaultServiceType → const String
- The default service type.