fetchState method

  1. @override
Future<Map<String, dynamic>> fetchState(
  1. String url
)

On the client, this should perform a http request to url to fetch state data from the server.

Implementation

@override
Future<Map<String, dynamic>> fetchState(String url) async {
  return _onFetchState?.call(url) ?? {};
}