# GenericDocument constructor

GenericDocument(

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

)

## Implementation

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