import { Serializer } from "@angular/compiler"; Serializer export class FilterDataModel { constructor( key?: string, value?: Array, isEnabled?: boolean, defaultValue?: number) { this.Key = key; this.Value = value || new Array(); this.IsEnabled = this.IsEnabled; this.DefaultValue = this.DefaultValue; } public Key: string; public Value: Array; public IsEnabled: boolean; public DefaultValue: number; }