NiceDataExporter class

A utility class for exporting data in various formats

Constructors

NiceDataExporter()

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

toCsv(List<Map<String, dynamic>> data, {List<String>? columns}) String
Export data to CSV format
toHtmlTable(List<Map<String, dynamic>> data, {List<String>? columns, String? title, bool includeStyles = true}) String
Export data to HTML table format
toJson(List<Map<String, dynamic>> data, {bool pretty = true}) String
Export data to JSON format
toXml(List<Map<String, dynamic>> data, {String rootElement = 'data', String itemElement = 'item'}) String
Export data to XML format