```dart
Future<void> clearStore() async {
  try {
    await Amplify.DataStore.clear();
    print('DataStore is cleared.');
  } on DataStoreException catch (e) {
    print('Failed to clear DataStore: $e');
  }
}
```
