toJson method

  1. @override
Map<String, dynamic> toJson()
override

Serializes the object to its JSON representation.

Implementation

@override
Map<String, dynamic> toJson() => {
      'file': file.path,
      'entries': entries,
      'cdEnd': cdEnd,
      'centralDirectories': centralDirectories,
      'stopOffset': stopOffset,
    };