toJson method

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

Converts this object to TDLib JSON.

Implementation

@override
Map<String, dynamic> toJson() => {
      '@type': CONSTRUCTOR,
      'caption': caption.toJson(),
      'cells': [
        for (final e in cells) [for (final e1 in e) e1.toJson()]
      ],
      'is_bordered': isBordered,
      'is_striped': isStriped,
    };