();

try

const

ip

await

example

_getIPAddress

();

console

log

ip

);

catch

error

console

error

error

);

main

();

In Dart, an async function returns a Future,
and the body of the function is scheduled for execution later.
The await operator is used to wait for a Future.

For more information, see the documentation for async and await.

The basics

How do I create a Flutter app?

To create an app using React Native,
you would run create-react-native-app from the command line.

create-react-native-app <projectname>