getPhoneNumber static method
Implementation
static String? getPhoneNumber(GlobalKey<PhoneInputState> key) {
final state = key.currentState!;
if (state.formKey.currentState!.validate()) {
return state.phoneNumber;
}
return null;
}
static String? getPhoneNumber(GlobalKey<PhoneInputState> key) {
final state = key.currentState!;
if (state.formKey.currentState!.validate()) {
return state.phoneNumber;
}
return null;
}