toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "caption": caption.toJson(),
    "cells": cells.map((i) => i.map((ii) => ii.toJson()).toList()).toList(),
    "is_bordered": isBordered,
    "is_striped": isStriped,
  };
}