toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => <String, Object?>{
      if (id != null) 'id': id,
      'cells': <List<Map<String, Object?>>>[
        for (final List<DVDocsSpan> cell in cells) _jsonSpans(cell),
      ],
    };