fromString static method

Protocol fromString(
  1. String type
)

Implementation

static Protocol fromString(String type) => types[type]!;