fromString static method

Direction fromString(
  1. String type
)

Implementation

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