StringUtil class
String utilities.
Constructors
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
-
camelize(
String name) → String - Camelizes the given string.
-
isChar(
String cc, {bool digit = false, bool upper = false, bool lower = false, bool whitespace = false, String? match}) → bool - Returns whether the character matches the specified conditions.
-
isCharCode(
int cc, {bool digit = false, bool upper = false, bool lower = false, bool whitespace = false}) → bool - Returns whether the character code matches the specified conditions.
-
skipWhitespaces(
String str, int from) → int -
Returns the index of the first non-whitespace character starting at
from
, -
uncamelize(
String name) → String - Uncamelizes the give string.