createMetricPreferences static method
Implementation
static Future<void> createMetricPreferences() async {
final pref = await SharedPreferences.getInstance();
await pref.setDouble(kMetricsKey, kDefaultMetricsValue);
}
static Future<void> createMetricPreferences() async {
final pref = await SharedPreferences.getInstance();
await pref.setDouble(kMetricsKey, kDefaultMetricsValue);
}