toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'bytes': bytes,
  'code': code,
  'codeText': codeText,
  'result': result,
  'durationMs': durationMs,
  'url': url,
  if (persistedPath != null) 'persistedPath': persistedPath,
  if (persistedSize != null) 'persistedSize': persistedSize,
};