# GenericDocument constructor

GenericDocument({

1. required GenericDocumentNormalizedType type,
2. required List<Field> fields,
3. required List<GenericDocument> children,
4. required double? confidence,
5. required double? confidenceWeight,

})

## Implementation

    GenericDocument({
      required this.type,
      required this.fields,
      required this.children,
      required this.confidence,
      required this.confidenceWeight,
    });