toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'address': address,
      if (column != null) 'column': column,
      if (endColumn != null) 'endColumn': endColumn,
      if (endLine != null) 'endLine': endLine,
      'instruction': instruction,
      if (instructionBytes != null) 'instructionBytes': instructionBytes,
      if (line != null) 'line': line,
      if (location != null) 'location': location,
      if (symbol != null) 'symbol': symbol,
    };