toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() => super.toJson()
  ..addAll({
    if (addJot != false) 'addJot': addJot,
    'body': body.map((e) => e.toJson()),
    if (arrayStretch != 1.0) 'arrayStretch': arrayStretch,
    'hlines': hlines.map((e) => e.toString()),
    'rowSpacings': rowSpacings.map((e) => e.toString())
  });