Holen Sie sich String von zukünftigen String Flutter

//use in an async function
var string = await futureString;

// or this
String? valueOfFuture = null;

futureFunction.then((String result){
setState(() {
      valueOfFuture = result;
    });
});

AGUDA JOHN