Callable Classes In Dart :

- Dart callable class allows its instances to be called like a function.
- To make a class callable class you implement a call() method.
class Employee { String call(String name, int age) { return 'Employee name is $name and Age is $age'; } } void main() { Employee emp = new Employee(); varmsg = emp('kamlesh', 30); print(msg); } output Employee name is kamlesh and Age is 30
The flutter tutorial is a website that bring you the latest and amazing resources of code. All the languages codes are included in this website. The languages like flutter, android, java,kotlin etc.with the help of this languages any user can develop the beautiful application
For more information about Flutter. visit www.fluttertutorial.in