phoneRegex top-level property Null safety

dynamic phoneRegex

Implementation

get phoneRegex=> RegExp(r"((^|, )(^[+60][01][0-9][-\s]{0,1}[0-9]{7,8}$|"
r"^[0-9]{2}[-\s][0-9]*$|"
r"^[(][0-9]{2}[)][0-9]{2}[-][0-9]*$|"
r"^[+60][0-9]{2}[\s][0-9]{4}[\s][0-9]{4}$))+$");