StringExtension extension
- on
Properties
- hideEmail → String
-
Available on String, provided by the StringExtension extension
隐藏邮箱no setter - hidePhoneNumber → String
-
Available on String, provided by the StringExtension extension
隐藏手机号中间四位no setter - isEmail → bool
-
Available on String, provided by the StringExtension extension
判断字符串是否为邮箱no setter - isEmptyOrNull → bool
-
Available on String, provided by the StringExtension extension
判断字符串是否为空no setter - isNotEmptyOrNull → bool
-
Available on String, provided by the StringExtension extension
判断字符串是否不为空no setter - isPhoneNumber → bool
-
Available on String, provided by the StringExtension extension
判断字符串是否为手机号no setter - isUrl → bool
-
Available on String, provided by the StringExtension extension
判断字符串是否为URLno setter
Methods
-
toBool(
) → bool -
Available on String, provided by the StringExtension extension
将字符串转换为bool -
toDouble(
) → double? -
Available on String, provided by the StringExtension extension
将字符串转换为double -
toInt(
) → int? -
Available on String, provided by the StringExtension extension
将字符串转换为int