Skip to content

Instantly share code, notes, and snippets.

@nparsons08
Created Dec 11, 2019
Embed
What would you like to do?
// mobile/lib/api_service.dart:30
Future<dynamic> getActivities(Map account) async {
var result =
await platform.invokeMethod<String>('getActivities', {'user': account['user'], 'token': account['feedToken']});
return json.decode(result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment