fromEntity static method
Implementation
static Future<DocumentItemModel?> fromEntity(
String documentID, DocumentItemEntity? entity) async {
if (entity == null) return null;
return DocumentItemModel(
documentID: documentID,
reference: entity.reference,
);
}