createMessage static method

WireMessage? createMessage(
  1. String command
)

Create a message instance by command (for encoding)

Implementation

static WireMessage? createMessage(String command) {
  final constructor = _constructors[command];
  return constructor?.call();
}