toJson method

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

Serializes the object to its JSON representation.

Implementation

@override
Map<String, dynamic> toJson() => {
      'numberOfDisk': numberOfDisk,
      'numberOfDiskWithCentralDirectory': numberOfDiskWithCentralDirectory,
      'totalEntriesOfDisk': totalEntriesOfDisk,
      'totalEntriesInCentralDirectory': totalEntriesInCentralDirectory,
      'centralDirectorySize': centralDirectorySize,
      'startOffset': startOffset,
      'commentLength': commentLength,
      'comment': comment,
    };