fetchAllFromServer method
Fetches all data from the server.
This method invokes the native method SmartfaceMobile.fetchAllFromServer
.
Returns:
A Future
that resolves to an Either<String, dynamic>
indicating the result of the fetch operation.
Example:
final result = await fetchAllFromServer();
Implementation
Future<Either<String, dynamic>> fetchAllFromServer() {
return invokeNativeMethod('SmartfaceMobile.fetchAllFromServer');
}