Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/api_service.dart Secret

Created Mar 2, 2020
Embed
What would you like to do?
// mobile/lib/api_service.dart:63
Future<bool> postChatMessage(Map account, String userToChatWith, String message) async {
await platform.invokeMethod('postChatMessage',
{'user': account['user'], 'userToChatWith': userToChatWith, 'message': message, 'token': account['chatToken']});
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.