GetUtils class
Utility methods
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
-
createPath(
String path, [Iterable< String> ? segments]) → String -
Creates a path by concatenating the provided
path
andsegments
. -
hasMatch(
String? value, String pattern) → bool -
Checks if a given
value
matches apattern
using a regular expression. -
isBlank(
dynamic value) → bool? - Checks if data is null or blank (empty or only contains whitespace).
-
isNull(
dynamic value) → bool - Checks if data is null.
-
isNullOrBlank(
dynamic value) → bool? - Checks if data is null or blank (empty or only contains whitespace).
-
isNum(
String value) → bool - Checks if string is int or double.
-
printFunction<
T> (String prefix, T value, String info, {bool isError = false}) → void - Utility function for printing logs with a specified prefix and additional information.