netsells_flutter_analysis 5.0.0 netsells_flutter_analysis: ^5.0.0 copied to clipboard
Static analysis rules for Dart and Flutter used at Netsells
import 'package:netsells_flutter_analysis/netsells_flutter_analysis.dart';
Future<void> main() async {
/// Await async functions.
await asyncFunction();
/// Use [unawaited] to indicate that a [Future] is intentionally not awaited.
/// Otherwise you'll get a warning
unawaited(asyncFunction());
}
Future<String> asyncFunction() => Future.value('hello world!');