Helpers class

Constructors

Helpers()

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

hash(String algorith, String value) → String
Helper to hash object by algorith
override
jsonToMap(String json) → Map<String, dynamic>
Unserialize JSON to object Map
objectToJson(dynamic value) → String
Serialize object to JSON string without empties
parseAmount(double? amount) → String?
Parse or nullify amount data
parseBool(dynamic value) → bool?
Parse to bool
parseDouble(dynamic value) → double?
Parse to double
parseString(dynamic value) → String?
Parse to String
replaceWhiteSpaces(String? value) → String?
Removes all white spaces
trimValue(String? value) → String?
Trim a string/null value