StringExtensions extension
- on
Properties
- hardTrim → String?
-
Available on String?, provided by the StringExtensions extension
returnStingwithout any spacesno setter - isDateTime → bool
-
Available on String?, provided by the StringExtensions extension
check the string can be DateTimeno setter - isDouble → bool
-
Available on String?, provided by the StringExtensions extension
check the string can be doubleno setter - isInternationalEgyptianPhone → bool
-
Available on String?, provided by the StringExtensions extension
check string is international egyptian phoneno setter - isInternationalKsaPhone → bool
-
Available on String?, provided by the StringExtensions extension
no setter - isLocalEgyptianPhone → bool
-
Available on String?, provided by the StringExtensions extension
check string is local egyptian phoneno setter - isLocalKsaPhone → bool
-
Available on String?, provided by the StringExtensions extension
check string is local ksa phoneno setter - isNullOrEmpty → bool
-
Available on String?, provided by the StringExtensions extension
check the string is null or emptyno setter - isNullOrEmptyOrWhiteSpace → bool
-
Available on String?, provided by the StringExtensions extension
check the string is null or empty or whitespaceno setter
Methods
-
arabicToEnglishNumbers(
) → String? -
Available on String?, provided by the StringExtensions extension
will convert from arabic numbers to english numbers -
englishToArabicNumbers(
) → String? -
Available on String?, provided by the StringExtensions extension
will convert from english numbers to arabic numbers -
equal(
String? str) → bool -
Available on String?, provided by the StringExtensions extension
returntrueif the are equals with case matching -
equalIgnoreCase(
String? str) → bool -
Available on String?, provided by the StringExtensions extension
returntrueif the are equals without case matching -
parseIsoDuration(
) → Duration? -
Available on String?, provided by the StringExtensions extension
convert ISO_8601 duration to dart duration copied from iso_duration_parser package -
toChars(
) → List< String> -
Available on String?, provided by the StringExtensions extension
queenwill return'q','u','e','e','n' -
toDate(
) → DateTime? -
Available on String?, provided by the StringExtensions extension
convertStringtoDateTimeif is possible else will return null -
toDouble(
) → double? -
Available on String?, provided by the StringExtensions extension
convertStringtodoubleif is possible else will return null -
toInt(
) → int? -
Available on String?, provided by the StringExtensions extension
convertStringtointif is possible else will return null -
toNumber(
) → num? -
Available on String?, provided by the StringExtensions extension
convertStringtonumif is possible else will return null