NwcMethod.fromPlaintext constructor

NwcMethod.fromPlaintext(
  1. String plaintext
)

Implementation

factory NwcMethod.fromPlaintext(String plaintext) {
  return _methodsRegistry[plaintext] ?? NwcMethod.UNKNOWN;
}