double readDouble(Object? value, [double fallback = 0]) { return value is num ? value.toDouble() : fallback; }