fetchFromServer method

Future<void> fetchFromServer()

Fetches data from the server by invoking a native method.

This method calls the native method 'SmartfaceMobile.fetchFromServer' to retrieve data from the server asynchronously.

Returns a Future that completes when the data has been fetched.

Implementation

Future<void> fetchFromServer() async {
  await invokeNativeMethod('SmartfaceMobile.fetchFromServer');
}