toJson method

dynamic toJson()

Implementation

dynamic toJson() => {
      if (type != null) 'type': type!.name,
      if (file != null) 'file': file,
      if (lineNumber != null) 'lineNumber': lineNumber,
      if (columnNumber != null) 'columnNumber': columnNumber,
      if (method != null) 'method': method,
      if (inProject != null) 'inProject': inProject,
      if (frameAddress != null) 'frameAddress': _addressValue(frameAddress),
      if (loadAddress != null) 'loadAddress': _addressValue(loadAddress),
      if (isLR != null) 'isLR': isLR,
      if (isPC != null) 'isPC': isPC,
      if (symbolAddress != null)
        'symbolAddress': _addressValue(symbolAddress),
      if (machoFile != null) 'machoFile': machoFile,
      if (machoLoadAddress != null) 'machoLoadAddress': machoLoadAddress,
      if (machoUUID != null) 'machoUUID': machoUUID,
      if (machoVMAddress != null) 'machoVMAddress': machoVMAddress,
      if (codeIdentifier != null) 'codeIdentifier': codeIdentifier,
    };