Protocol class

See VmService.getSupportedProtocols.

Constructors

Protocol({String? protocolName, int? major, int? minor})

Properties

hashCode int
The hash code for this object.
no setterinherited
major int?
The major revision of the protocol.
getter/setter pair
minor int?
The minor revision of the protocol.
getter/setter pair
protocolName String?
The name of the supported protocol.
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, dynamic>
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) Protocol?