saveDateTimeForCustomerInfo static method

Future<void> saveDateTimeForCustomerInfo()

Implementation

static Future<void> saveDateTimeForCustomerInfo() async {
  try {
    SharedPreferences prefs = await SharedPreferences.getInstance();
    await prefs.setString(
      'dateTimeCustomerInfo',
      DateTime.now().toIso8601String(),
    );
  } catch (e) {
    SdkLogger.error('Inappify storage write failed: ${e.runtimeType}');
  }
}