descriptor property

Future<DbStoreDescriptor> get descriptor

Implementation

Future<DbStoreDescriptor> get descriptor async {
  final descriptor = await storeDescriptor.get(0);
  if (descriptor == null) {
    throw FMTCDamagedStoreException(
      'Failed to perform an operation on a store due to the core descriptor being missing.',
      FMTCDamagedStoreExceptionType.missingStoreDescriptor,
    );
  }
  return descriptor;
}