ProtocolCounts class
Message counts split by wire protocol. An absent member is a protocol the mediator counted nothing for. The member names match the WireProtocol values the traffic monitor reports.
Constructors
- ProtocolCounts({int? didcomm, int? didcommV1, int? tsp, int? other})
-
const
-
ProtocolCounts.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- didcomm → int?
-
DIDComm v2 (JWE/JWS).
final
- didcommV1 → int?
-
A DIDComm v1 envelope.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- other → int?
-
Anything the mediator could not classify.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tsp → int?
-
A Trust Spanning Protocol message.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited