/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Injectable } from '@angular/core';
var NotificationService = /** @class */ (function () {
    function NotificationService() {
    }
    /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    NotificationService.prototype.error = /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    function (message, title, override) {
        this.notify('error', message, title, override);
    };
    /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    NotificationService.prototype.info = /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    function (message, title, override) {
        this.notify('info', message, title, override);
    };
    /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    NotificationService.prototype.success = /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    function (message, title, override) {
        this.notify('success', message, title, override);
    };
    /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    NotificationService.prototype.warning = /**
     * @param {?} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    function (message, title, override) {
        this.notify('warning', message, title, override);
    };
    /**
     * @param {?} method
     * @param {?=} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    NotificationService.prototype.notify = /**
     * @param {?} method
     * @param {?=} message
     * @param {?=} title
     * @param {?=} override
     * @return {?}
     */
    function (method, message, title, override) {
        console[method](message || '', title || '', override);
    };
    NotificationService.decorators = [
        { type: Injectable },
    ];
    /** @nocollapse */
    NotificationService.ctorParameters = function () { return []; };
    return NotificationService;
}());
export { NotificationService };

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZG90Z292L2Zvcm1idWlsZGVyLyIsInNvdXJjZXMiOlsiYXBwL2ZiL3NlcnZpY2VzL25vdGlmaWNhdGlvbi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