coerceDouble method
- dynamic a
Implementation
double coerceDouble(dynamic a) => a == null
? 0.0
: (a is num)
? a.toDouble()
: double.tryParse(a.toString()) ?? 0.0;
double coerceDouble(dynamic a) => a == null
? 0.0
: (a is num)
? a.toDouble()
: double.tryParse(a.toString()) ?? 0.0;