toJson method

Map<String, dynamic> toJson()

Implementation

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