toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'file': file,
      'line': line,
      if (symbol != null) 'symbol': symbol,
    };