public static async ValueTask AddAsRowAsync(this Spreadsheet spreadsheet, SpreadCheetah.SourceGenerator.SnapshotTest.Models.ClassWithSingleProperty obj, CancellationToken token = default)
        {
            if (spreadsheet is null)
            {
                throw new ArgumentNullException(nameof(spreadsheet));
            }
            if (obj is null)
            {
                throw new ArgumentNullException(nameof(obj));
            }
            var cells = ArrayPool <DataCell> .Shared.Rent(1);

            try
            {
                cells[0] = new DataCell(obj.Name);
                await spreadsheet.AddRowAsync(cells.AsMemory(0, 1), token).ConfigureAwait(false);
            }
            finally
            {
                ArrayPool <DataCell> .Shared.Return(cells, true);
            }
        }
 public static ValueTask AddRowAsync(this Spreadsheet spreadsheet, DataCell cell, RowOptions?options = null) => spreadsheet.AddRowAsync(new[] { cell }, options);