What does void mean in Dart?

In a large variety of languages void as return type is used to indicate that a function doesn’t return anything . Dart allows returning null in functions with void return type but it also allow using return; without specifying any value.

Sizin İçin Seçtik  How do you use a Dart constructor?

Leave a Reply

Your email address will not be published. Required fields are marked *