toDocumentPermissionType method
Implementation
DocumentPermissionType toDocumentPermissionType() {
switch (this) {
case 'Share':
return DocumentPermissionType.share;
}
throw Exception('$this is not known in enum DocumentPermissionType');
}