handles static method

bool handles(
  1. String messageType
)

Whether messageType belongs to this protocol.

Implementation

static bool handles(String messageType) =>
    messageType == proofRequestType || messageType == proofResponseType;