Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Required named parameter 'withNullability' must be provided. #44

@shaheermubarak

Description

@shaheermubarak

dart run build_runner watch --use-polling-watcher --delete-conflicting-outputs

Building package executable...
Built build_runner:build_runner.
[INFO] Generating build script completed, took 214ms
[WARNING] ../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/templates/document_reference.dart:86:52: Error: Required named parameter 'withNullability' must be provided.
final fieldType = field.type.getDisplayString();
^
../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/templates/document_reference.dart:137:44: Error: Required named parameter 'withNullability' must be provided.
final type = data.type.getDisplayString();
^
../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/templates/document_reference.dart:189:44: Error: Required named parameter 'withNullability' must be provided.
final type = data.type.getDisplayString();
^
../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/templates/query_reference.dart:123:34: Error: Required named parameter 'withNullability' must be provided.
${field.type.getDisplayString()} startAt,
^
../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/templates/query_reference.dart:124:34: Error: Required named parameter 'withNullability' must be provided.
${field.type.getDisplayString()} startAfter,
^
../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/templates/query_reference.dart:125:34: Error: Required named parameter 'withNullability' must be provided.
${field.type.getDisplayString()} endAt,
^
../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/templates/query_reference.dart:126:34: Error: Required named parameter 'withNullability' must be provided.
${field.type.getDisplayString()} endBefore,
^
../../.pub-cache/hosted/pub.dev/cloud_firestore_odm_generator-1.0.0-dev.90/lib/src/names.dart:14:28: Error: Required named parameter 'withNullability' must be provided.
type.getDisplayString().replaceFirstMapped(
^
[INFO] Precompiling build script... completed, took 2.4s
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions