StringUtil class

String utilities.

Annotations

Constructors

StringUtil()

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 Properties

camelize String Function(String name)
Camelizes the given string.
final
isChar bool Function(String cc, {bool digit = false, bool lower = false, String? match, bool upper = false, bool whitespace = false})
Returns whether the character matches the specified conditions.
final
isCharCode bool Function(int cc, {bool digit = false, bool lower = false, bool upper = false, bool whitespace = false})
Returns whether the character code matches the specified conditions.
final
skipWhitespaces int Function(String str, int from)
Returns the index of the first non-whitespace character starting at from,
final
uncamelize String Function(String name)
Uncamelizes the give string.
final