getDouble abstract method Null safety

Future<double> getDouble(
  1. String key,
  2. double defaultValue
)

Gets double for key.