Dart return Statement
Overview The Dart return statement is used to return a value. A Dart function can have only one return statement in the function body. A function returns a value to the caller where it is invoked. Dart return Statement The general syntax of the Dart return statement is as follows: return <return_value>; Note that, the […]