apiMethodFrom function

AffiseApiMethod? apiMethodFrom(
  1. String? name
)

Implementation

AffiseApiMethod? apiMethodFrom(String? name) {
  if (name == null) return null;
  return AffiseApiMethod.values.firstWhere((e) => e.apiName == name);
}