ProtocolList class Null safety

A ProtocolList contains a list of all protocols supported by the service instance.

See Protocol and getSupportedProtocols.

Inheritance

Constructors

ProtocolList({List<Protocol>? protocols})

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
json ↔ Map<String, dynamic>?
read / writeinherited
protocols ↔ List<Protocol>?
A list of supported protocols provided by this service.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
type → String
read-onlyoverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

parse(Map<String, dynamic>? json) → ProtocolList?
override