isValidContact property

bool get isValidContact

Implementation

bool get isValidContact => (isNotNullOrEmpty
    ? RegExp(r'(^(?:[+0]9)?[0-9]{10,12}$)').hasMatch("$this")
    : false);