toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boundingPoly != null) 'boundingPoly': boundingPoly!.toJson(),
      if (confidence != null) 'confidence': confidence!,
      if (layoutId != null) 'layoutId': layoutId!,
      if (layoutType != null) 'layoutType': layoutType!,
      if (page != null) 'page': page!,
    };