File

src/app/models/lrs/result.ts

Constructor

constructor(success: boolean, duration: string)

Methods

Private _getResult
_getResult()
Returns: void

Properties

duration
duration: string
success
success: boolean
export class Result {
    success:boolean
    duration:string

    constructor(success : boolean,duration : string){
        this.success = success;
        this.duration = duration;
        this._getResult();
    }

    private _getResult(){
        return{
            success : this.success,
            duration : this.duration
        }
    }
}

results matching ""

    No results matching ""