phoneUS property

RegExp phoneUS
final

US phone number

Implementation

static final RegExp phoneUS = RegExp(
  r'^(\+1)?[\s.-]?\(?[2-9]\d{2}\)?[\s.-]?\d{3}[\s.-]?\d{4}$',
);