parseNumber method Null safety

String parseNumber()

Returns a String of phoneNumber without dialCode

Implementation

String parseNumber() {
  return this.phoneNumber!.replaceAll("${this.dialCode}", '');
}