toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final bytesReadThisSession = this.bytesReadThisSession;
  final bytesWrittenThisSession = this.bytesWrittenThisSession;
  final discardTimeThisSession = this.discardTimeThisSession;
  final health = this.health;
  final ioTimeThisSession = this.ioTimeThisSession;
  final manufacturer = this.manufacturer;
  final model = this.model;
  final readTimeThisSession = this.readTimeThisSession;
  final serialNumber = this.serialNumber;
  final sizeBytes = this.sizeBytes;
  final type = this.type;
  final volumeIds = this.volumeIds;
  final writeTimeThisSession = this.writeTimeThisSession;
  return {
    'bytesReadThisSession': ?bytesReadThisSession,
    'bytesWrittenThisSession': ?bytesWrittenThisSession,
    'discardTimeThisSession': ?discardTimeThisSession,
    'health': ?health,
    'ioTimeThisSession': ?ioTimeThisSession,
    'manufacturer': ?manufacturer,
    'model': ?model,
    'readTimeThisSession': ?readTimeThisSession,
    'serialNumber': ?serialNumber,
    'sizeBytes': ?sizeBytes,
    'type': ?type,
    'volumeIds': ?volumeIds,
    'writeTimeThisSession': ?writeTimeThisSession,
  };
}