# GenericDocument constructor

GenericDocument({

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

})

## Implementation

    GenericDocument({
      required this.type,
      this.fields = const [],
      this.children = const [],
      required this.confidence,
      required this.confidenceWeight,
    });