toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (column != null) 'column': column,
      if (condition != null) 'condition': condition,
      if (hitCondition != null) 'hitCondition': hitCondition,
      'line': line,
      if (logMessage != null) 'logMessage': logMessage,
      if (mode != null) 'mode': mode,
    };