weChatAuthCall method
void
weChatAuthCall(
- AuthStatus status,
- AuthorizeCall authorizeCall,
- Map<
String, dynamic> arguments
Implementation
void weChatAuthCall(AuthStatus status, AuthorizeCall authorizeCall, Map<String, dynamic> arguments) {
if (status == AuthStatus.success) {
authorizeCall(AuthType.weChat, AuthStatus.success, arguments);
} else if (status == AuthStatus.cancel) {
authorizeCall(AuthType.weChat, AuthStatus.cancel, arguments);
} else {
authorizeCall(AuthType.weChat, AuthStatus.fail, arguments);
}
}