FxMap class
Custom Methods on Map
Constructors
- FxMap()
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
- defaultBool → bool
-
final
- defaultDouble → double
-
final
- defaultInt → int
-
final
- defaultString → String
-
final
Static Methods
-
contains(
Map map, String key, dynamic value) → bool -
Whether this map contains the given
key
/value
pair. -
diffKeys(
Map map1, Map map2) → Map - Returns all entries of this map according to keys.
-
diffValues(
Map map1, Map map2) → Map - Returns all entries of this map according to values.
-
getBool(
Map? map, String key) → bool -
Reads a
key
value of bool type from Map. -
getDouble(
Map? map, String key) → double -
Reads a
key
value of double type from Map. -
getId(
Map map) → dynamic - Returns the ID of the object if exists otherwise return 0;
-
getInt(
Map? map, String key) → int -
Reads a
key
value of int type from Map. -
getList(
Map? map, String key) → List -
Reads a
key
value of List type from Map. -
getString(
Map? map, String key) → String -
Reads a
key
value of String type from Map. -
isEmptyOrNull(
Map? map) → bool - Check map is either empty or null
-
isNotEmptyOrNull(
Map map) → bool - Check map is neither empty nor null