Skip to content

rename String.isEmpty to isNullOrEmpty #723

@subzero911

Description

@subzero911

https://pub.dev/documentation/quiver/latest/quiver.strings/isEmpty.html

Because its actual implementation is s == null || s.isEmpty;
Also, it conflicts with Flutter standard library isEmpty function https://api.flutter.dev/flutter/dart-core/String/isEmpty.html which actually does what it says.

The same is applicable to isNotEmpty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions