isValid static method

bool isValid(
  1. String edgeType
)

Checks if a string is a valid edge type.

Implementation

static bool isValid(String edgeType) => values.contains(edgeType);