toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (contents != null) 'contents': contents!,
  if (diskPath != null) 'diskPath': diskPath!,
  if (hashedSize != null) 'hashedSize': hashedSize!,
  if (operations != null) 'operations': operations!,
  if (partiallyHashed != null) 'partiallyHashed': partiallyHashed!,
  if (path != null) 'path': path!,
  if (sha256 != null) 'sha256': sha256!,
  if (size != null) 'size': size!,
};