fromValue static method

IntegrationType? fromValue(
  1. String? value
)

Implementation

static IntegrationType? fromValue(String? value) {
  for (final type in IntegrationType.values) {
    if (type.value == value) return type;
  }
  return null;
}