public void notify(String typeStr, Object data = null) { BaseNotification notification = new BaseNotification(); notification.data = data; AppNotification note = new AppNotification(typeStr, notification); note.dispatch(); }
private void notify(string type, object data = null) { INotification notificaion = new BaseNotification(); notificaion.data = data; AppNotification note = new AppNotification(type, notificaion); note.dispatch(); }