runFlutterServer function
Call this to start your server. Runner is where you run your server but your given context
Implementation
Future<void> runFlutterServer(ServerRunner runner) async {
WidgetsFlutterBinding.ensureInitialized();
runApp(FlutterServerApplication(runner: runner));
}