# GenericDocumentWrappedResults.fromGenericDocumentResults constructor

GenericDocumentWrappedResults.fromGenericDocumentResults(

1. GenericDocumentResults results

)

## Implementation

    factory GenericDocumentWrappedResults.fromGenericDocumentResults(
        GenericDocumentResults results) {
      List<GenericDocumentWrapper> documents = [];
      results.documents.forEach((element) {
        documents.add(GenericDocumentWrapper.fromGenericDocument(element));
      });
      return GenericDocumentWrappedResults(documents);
    }