We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
实例化 JPushMessage 的时候,extar 类型是空,会有异常
case 'receivePushMsg': { var map = call.arguments; var extras = map['extras']; if (extras != null) { try { if (extras is String) { extras = json.decode(extras); } } catch (e) {} } _recvCustomMsgController.add(new JPushMessage( title: map['title'], message: map['message'] ?? map['content'], contentType: map['contentType'] ?? map['content_type'], extras: extras)); } break;
JPushMessage({this.message, this.contentType, this.title, this.extras});
The text was updated successfully, but these errors were encountered:
No branches or pull requests
实例化 JPushMessage 的时候,extar 类型是空,会有异常
case 'receivePushMsg':
{
var map = call.arguments;
var extras = map['extras'];
if (extras != null) {
try {
if (extras is String) {
extras = json.decode(extras);
}
} catch (e) {}
}
_recvCustomMsgController.add(new JPushMessage(
title: map['title'],
message: map['message'] ?? map['content'],
contentType: map['contentType'] ?? map['content_type'],
extras: extras));
}
break;
JPushMessage({this.message, this.contentType, this.title, this.extras});
The text was updated successfully, but these errors were encountered: