static Future<void> writeModel<T>( String key, Map<String, dynamic> value) async { await storage.write(key: key, value: json.encode(value)); }