phone property Null safety

String phone
read / write

Phone Number regex Must started by either, "0", "+", "+XX

Implementation

static String phone =
    r'^(0|\+|(\+[0-9]{2,4}|\(\+?[0-9]{2,4}\)) ?)([0-9]*|\d{2,4}-\d{2,4}(-\d{2,4})?)$';