launchStatus method

dynamic launchStatus(
  1. BuildContext context,
  2. AsyncSnapshot<void> snapshot
)

Implementation

launchStatus(BuildContext context, AsyncSnapshot<void> snapshot) {
  if (snapshot.hasError) {
    return Text('Error: ${snapshot.error}');
  } else {
    return const Text('');
  }
}