saveCustomerInfo static method
Implementation
static Future<void> saveCustomerInfo(
{required CustomerInfo customerInfo}) async {
try {
SharedPreferences prefs = await SharedPreferences.getInstance();
await prefs.setString('customerInfo', jsonEncode(customerInfo.toJson()));
} catch (e) {
SdkLogger.error('Inappify storage write failed: ${e.runtimeType}');
}
}