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