fromName static method

WrapperPosition fromName(
  1. String name
)

Implementation

static WrapperPosition fromName(String name) => WrapperPosition.values.firstWhere((element) => element.name == name);