export_firebase_csv library
Functions
-
exportWithTitles(
String collectionName, List< String> rowTitles, List<String> fieldNames, DateTime? start, DateTime? end, String dateFieldName, String? defaultNullString, String fileName) → Future - Exports data from a Firebase collection to a CSV file and downloads it.
-
formatFirestoreTimestamp(
Timestamp timestamp) → String -
Formats a Firestore
Timestamp
to a date and time string in the 'dd/MM/yyyy HH:mm:ss' format. -
jsonToCsv(
dynamic jsonData, String fileName) → Future - Converts JSON data to a CSV file and downloads it.