suggestSlug method

Future<String?> suggestSlug(
  1. String title
)

Implementation

Future<String?> suggestSlug(String title) async {
  final docType = currentDocumentType.value;
  if (docType == null) return null;
  return await dataSource.suggestSlug(title, docType.name);
}