Created
April 23, 2019 20:17
-
-
Save legalcodes/9fbfea4739aa064455e836dbc84cc62f to your computer and use it in GitHub Desktop.
Mock _result function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void _result(bool success, [List<String> messages]) { | |
final joinedMessages = messages?.map((m) => m.toString())?.join(',') ?? ''; | |
print('success: $success, "messages": $joinedMessages'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment