draftKey property

String? get draftKey

Implementation

String? get draftKey {
  if (modelId == null && documentId == null) {
    return null;
  }
  return DraftService.generateKey([modelId ?? 'no_model_id', documentId ?? 'no_document_id']);
}