asDouble method

double asDouble([
  1. double? defaultValue
])

If object is double then return it otherwise throw FormatException

Implementation

double asDouble([double? defaultValue]) {
  return _getValue<double>(defaultValue);
}