StringExtensions extension

on

Properties

escapedString String

Available on String, provided by the StringExtensions extension

no setter
hmacSha256ToBase64 String

Available on String, provided by the StringExtensions extension

HMAC-SHA256
no setter
isCNPhoneNumber bool

Available on String, provided by the StringExtensions extension

验证国内手机号码
no setter
isEmail bool

Available on String, provided by the StringExtensions extension

验证邮箱
no setter
isWeakPassword bool

Available on String, provided by the StringExtensions extension

是否是弱密码
no setter
md5 String

Available on String, provided by the StringExtensions extension

MD5
no setter

Methods

hasMatch(String pattern) bool

Available on String, provided by the StringExtensions extension

RegExp Match pattern
hmacSha256({required String key}) String

Available on String, provided by the StringExtensions extension

HMAC-SHA256