isMobile method

bool isMobile()

Implementation

bool isMobile() {
  return RegExp(
          r'^((13[0-9])|(14[5,7,9])|(15[^4])|(18[0-9])|(17[0,1,3,5,6,7,8])|(19)[0-9])\d{8}$')
      .hasMatch(this);
}