doubleGet static method
Implementation
static double doubleGet(dynamic it) {
switch (it.runtimeType) {
case int:
return it * 1.0;
case double:
return it;
case String:
return double.parse(it);
}
return 0.0;
}
static double doubleGet(dynamic it) {
switch (it.runtimeType) {
case int:
return it * 1.0;
case double:
return it;
case String:
return double.parse(it);
}
return 0.0;
}