Adding the keyword to a function makes it return a Future.For example, consider this synchronous function,which returns a String:

    Note that the function’s body doesn’t need to use the Future API.Dart creates the Future object if necessary.If your function doesn’t return a useful value,make its return type Future<void>.