Integer.fromMap constructor
Construct an Integer from a Map: { 'i': integer value }
If the map contents are not recognized, Integer.zero is returned.
Implementation
factory Integer.fromMap(Map<String, int>? m) {
if (m?['i'] is int) return Integer(m?['i'] as int);
return Integer.zero;
}