toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.index != null) {
    json[r'index'] = this.index;
  } else {
    json[r'index'] = null;
  }
    json[r'cells'] = this.cells;
  return json;
}