@override Future<double?> getDouble(String key) async { final map = await read(); return map[key] as double?; }