toJSON method

Future<void> toJSON(
  1. String path
)

Convert to JSON

Implementation

Future<void> toJSON(String path) async {
  await exportTo(path, DataFormat.json);
}