toTurkishPhoneNumber property
String
toTurkishPhoneNumber
Implementation
String get toTurkishPhoneNumber {
if (this.isTurkeyPhoneNumber) {
return "0$this";
} else if (this.isTurkeyPhoneNumberWithCountryCode) {
return this.substring(3);
} else if (this.isTurkeyPhoneNumberWithCountryCodeAndSpace) {
return this.substring(4);
} else {
return this;
}
}