getDefaultProfile method
Gets the default profile name when the store is opened.
Throws an AskarStoreException if the default profile name retrieval fails.
Implementation
Future<String> getDefaultProfile() async {
try {
final result = await askarStoreGetDefaultProfile(handle);
result.throwOnError();
return result.value;
} catch (e) {
throw AskarStoreException('Failed to get default profile: $e');
}
}