StringUtils class

Constructors

StringUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getVersion(String version) int
isNullOrEmpty(String? str) bool
检查字符串是否为空
toLowerCase(String str) String
将字符串转换为小写
toUpperCase(String str) String
将字符串转换为大写
trim(String str) String
去除字符串两端的空白字符