mapKind static method
Implementation
static FieldKind? mapKind(String? kind) {
switch (kind) {
case 'Number':
return FieldKind.number;
case 'Currency':
return FieldKind.currency;
case 'EmailAddress':
return FieldKind.emailAddress;
case 'Url':
return FieldKind.url;
case 'PhoneNumber':
return FieldKind.phoneNumber;
default:
return null;
}
}