MiscTools class
Miscellanies tools that are used throughout the app.
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
-
extractData(
Map< String, dynamic> dataMap) → Map<String, dynamic> - Used to extract the desired data from a raw JSON data map response.
-
extractDataList(
Map< String, dynamic> dataMap) → List<Map< ?String, dynamic> > - Used to extract the desired data from a raw JSON data map response.
-
hashAll(
Iterable iterable) → int -
This method hashes an iterable in such a way that two different iterables
that look the same, will have the same hash.
override
-
hashAllMap(
Map map) → int - This method hashes a map in such a way that two different maps that look the same, will have the same hash.
-
hashAllUnordered(
Iterable iterable) → int -
This method hashes an iterable in such a way that two different iterables
that have the same values, will have the same hash (regardless of order).
override
-
hashAllUnorderedMap(
Map map) → int - This method hashes a map in such a way that two different maps that have the same key-value pairs, will have the same hash.
-
randInt(
int min, int max) → int -
This method generates and returns a random integer from
min
tomax
(inclusive).