<commit_before>part of schemas;

/**
 * API to an open modal window.
 */
class ModalDialogInstance {
    ComponentRef contentRef;
    /**
     * States if the modal is inside a specific element.
     */
    bool inElement;

    ComponentRef _bootstrapRef;
    ComponentRef _backdropRef;
    dynamic _resultDefered;

    ModalDialogInstance(ModalConfig config) {
		//Todo: Future?
//        this._resultDefered = Future.completer();
    }

    set backdropRef(ComponentRef value) {
        this._backdropRef = value;
    }
    set bootstrapRef(ComponentRef value) {
        this._bootstrapRef = value;
    }

    /**
     * A Promise that is resolved on a close event and rejected on a dismiss event.
     * @returns {Promise<T>|any|*|Promise<any>}
     */<commit_msg>modaldialoginstance.dart edited online with Bitbucket<commit_after>part of schemas;

/**
 * API to an open modal window.
 */
class ModalDialogInstance {
    ComponentRef contentRef;
    /**
     * States if the modal is inside a specific element.
     */
    bool inElement;
    
    ModalConfig config;

    ComponentRef _bootstrapRef;
    ComponentRef _backdropRef;
    dynamic _resultDefered;

    ModalDialogInstance(this.config) {
		//Todo: Future?
//        this._resultDefered = Future.completer();
    }

    set backdropRef(ComponentRef value) {
        this._backdropRef = value;
    }
    set bootstrapRef(ComponentRef value) {
        this._bootstrapRef = value;
    }

    /**
     * A Promise that is resolved on a close event and rejected on a dismiss event.
     * @returns {Promise<T>|any|*|Promise<any>}
     */
{'fraction_non_alphanumeric': 0.09335839598997493, 'fraction_numerical': 0.0, 'mean_word_length': 2.671264367816092, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4217862', 'n_tokens_mistral': 481, 'n_tokens_neox': 457, 'n_words': 131}