tryParse static method
- String? v
Parses the wire value, or null for a kind this SDK does not know.
Implementation
static ContactKind? tryParse(String? v) {
for (final k in values) {
if (k.name == v) return k;
}
return null;
}
Parses the wire value, or null for a kind this SDK does not know.
static ContactKind? tryParse(String? v) {
for (final k in values) {
if (k.name == v) return k;
}
return null;
}