resolveSlug method
Implementation
ProviderSlug? resolveSlug() {
try {
return ProviderSlug.values
.firstWhere((slug) => slug.toString() == this.slug);
} catch (err) {
assert(err is StateError);
return null;
}
}
ProviderSlug? resolveSlug() {
try {
return ProviderSlug.values
.firstWhere((slug) => slug.toString() == this.slug);
} catch (err) {
assert(err is StateError);
return null;
}
}