ExcelExportService class

A service for exporting device data to an Excel file.

The ExcelExportService class provides a method to export device data (represented as a list of Appwrite documents) into an Excel file. The Excel file is then made available for download by the user in .xlsx format.

Constructors

ExcelExportService.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

exportDevicesToExcel(BuildContext context, List<Document> documents) Future<void>
Exports the given list of device documents to an Excel file and triggers a download in the browser.
exportDoctorsToExcel(BuildContext context, List<Document> documents) Future<void>
exportMothersToExcel(BuildContext context, List<Document> documents) Future<void>
exportOrganizationsToExcel(BuildContext context, List<OrganizationDetailsModel> documents) Future<void>