todo 1.0.0 copy "todo: ^1.0.0" to clipboard
todo: ^1.0.0 copied to clipboard

outdated

🛠 Offers a TODO() method to indicate that code has not been implemented yet.

Sometimes you just want to implement the general architecture of your code without implementing details yet. This package offers a TODO() method that you can use to indicate that a part of your code hasn't been implemented yet.

int maximumOf(List<int> numbers) {
    if (numbers.isEmpty) {
        return TODO("Handle empty list of numbers.");
    }
    TODO("Implement finding the maximum.");
}

🛠 It can be used as a statement or expression for any type. Accepts an optional message.
💥 When executed, it just throws an UnimplementedError.
🔍 Additionally, Dart's analyzer also highlights where you use this function so you can easily find all calls to TODO later.

7
likes
0
pub points
72%
popularity

Publisher

unverified uploader

🛠 Offers a TODO() method to indicate that code has not been implemented yet.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on todo