toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'caption': caption?.toJson(),
  'cells': cells
      .map((item) => item.map((item) => item.toJson()).toList())
      .toList(),
  'is_bordered': isBordered,
  'is_striped': isStriped,
  '@type': constructor,
};