toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (colSpan != null) 'colSpan': colSpan!,
      if (detectedLanguages != null)
        'detectedLanguages':
            detectedLanguages!.map((value) => value.toJson()).toList(),
      if (layout != null) 'layout': layout!.toJson(),
      if (rowSpan != null) 'rowSpan': rowSpan!,
    };