parse static method

IPDEventAction parse(
  1. String action
)

Implementation

static IPDEventAction parse(String action) =>
    IPDEventAction.values.firstWhere((event) => event.action == action,
        orElse: () => IPDEventAction.unknown);