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 (type != null) 'type': type!,
    };