NSID class sealed

This is the Dart implementation of NSID in AT Protocol.

Grammar:

  • alpha = "a" / "b" / "c" / "d" / "e" / "f" / "g" / "h" / "i" / "j" / "k" / "l" / "m" / "n" / "o" / "p" / "q" / "r" / "s" / "t" / "u" / "v" / "w" / "x" / "y" / "z" / "A" / "B" / "C" / "D" / "E" / "F" / "G" / "H" / "I" / "J" / "K" / "L" / "M" / "N" / "O" / "P" / "Q" / "R" / "S" / "T" / "U" / "V" / "W" / "X" / "Y" / "Z"
  • number = "1" / "2" / "3" / "4" / "5" / "6" / "7" / "8" / "9" / "0"
  • delim = "."
  • segment = alpha *( alpha / number / "-" )
  • authority = segment *( delim segment )
  • name = segment
  • nsid = authority delim name
  • nsid-ns = authority delim "*"

Constructors

NSID(String nsid)
Returns the new instance of unparsed NSID.
const
factory
NSID.create(String authority, String name)
Returns the new instance of parsed NSID based on authority and name.
factory
NSID.parse(String nsid)
Returns the new instance of parsed NSID.
factory

Properties

authority String
Returns the authority of this nsid.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
Returns the method name of this nsid.
no setter
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