isMobile function

bool isMobile(
  1. String? mobile
)

Implementation

bool isMobile(String? mobile) {
  return !isNullOrEmpty(mobile) &&
      mobile!.length == 11 &&
      mobile.startsWith("1");
}