fromOffTag static method

ServerType? fromOffTag(
  1. String? offTag
)

Returns the ServerType that matches the offTag.

Implementation

static ServerType? fromOffTag(final String? offTag) =>
    OffTagged.fromOffTag(offTag, ServerType.values) as ServerType?;