StringHelpers class
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
-
escape(
String contents) → String -
kebabCase(
String input) → String - Converts a camelized string to kebab-case Taken from json_serializable
-
pascalCase(
String input) → String - Capitalizes first letter Taken from json_serializable
-
snakeCase(
String input) → String -
Convert a camelized string to snake_case
e.g.
aLongFieldName
becomesa_long_field_name
Taken from json_serializable