// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../json_csv_writers.dart';

/// Top-level helper that performs the `_contextToJson` operation for this file.
/// Keeping the helper private makes the surrounding flow easier to read while preventing unrelated libraries from depending on implementation detail.
Map<String, Object?> _contextToJson(ExportContext context) {
  return <String, Object?>{
    'ownerId': context.ownerId.value,
    'timezone': context.timezone,
    'version': context.version,
  };
}
