toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "applicationID": applicationID,
      "dataHashAlgorithm": dataHashAlgorithm,
      "files": files.map((e) => e.toJson()).toList(),
      "status": status.value,
      "type": type,
      "unicodeVersion": unicodeVersion,
      "version": version,
    }.clearNulls();