ProtocolInstance class

Annotations
  • @_NameSource('spec')

Constructors

ProtocolInstance({required String desc, required Map<String, Object?> fields, String? icon, required String networkId})
ProtocolInstance.fromJson(Map<String, Object?> json)

Properties

desc String
A human-readable description for the protocol, such as the name.
getter/setter pair
fields Map<String, Object?>
Preset values for fields the client may use to search by.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon String?
An optional content URI representing the protocol. Overrides the one provided at the higher level Protocol object.
getter/setter pair
networkId String
A unique identifier across all instances.
getter/setter pair
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
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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