OperationHelper<T extends ProtoMessage, S extends ProtoMessage> class final

This helper class is used to pull typed messages out of the Operation.response and Operation.metadata fields in order to populate the typed Operation.responseAsMessage and Operation.metadataAsMessage fields.

Constructors

OperationHelper(T responseDecoder(Map<String, dynamic>), [S metadataDecoder(Map<String, dynamic>)?])

Properties

hashCode int
The hash code for this object.
no setterinherited
metadataDecoder → S Function(Map<String, dynamic>)?
final
responseDecoder → T Function(Map<String, dynamic>)
final
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