Skip to content

AbstractTypeBuilderMixin.newInstance should accept empty-string constructor argument #912

@yjbanov

Description

@yjbanov

Currently, supplying empty string as the constructor argument results in called a named constructor whose name is empty, e.g.: Foo.(). That's not valid Dart, therefore the only interpretation of empty string should be to call the default constructor. null should be either disallowed or have the same behavior.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions