parse static method

IosZjEventAction parse(
  1. String action
)

Implementation

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