I created a function with a return value of String as follows.

```
 Future<String?> setName() {
    String? name='Jon';

    return name;
  }

```

Is there any way to incorporate this into the string?
I want to use following situations.

```
print('Name:${setName}');

```

or

```
    appBar: AppBar(
      title: Text('Name:${setName}'),

```

When I wrote the above, it unexpectedly output the following

```
Name:Closure:()=> Future<String?> from Function ...

```