CPNotificationReceivedResult(Map<String, dynamic> json) { this.notification = CPNotification(json['notification'].cast<String, dynamic>()); }