fromString static method

DtlsRole fromString(
  1. String type
)

Implementation

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