Real.fromMap constructor
Constructs an instance using the value for property d
(decimal) or i
(integer) in Map m
.
Implementation
factory Real.fromMap(Map<String, dynamic>? m) =>
m?.containsKey('d') == true || m?.containsKey('i') == true
? Number.fromMap(m) as Real
: Integer.zero;