File

src/client/app/modules/puzzle/services/database/config-record.model.ts

Implements

ModelInterface

Index

Properties
Methods

Constructor

constructor(key: string, value: string)

Methods

toString
toString()
Returns : string

Properties

Public key
key: string
Type : string
Public value
value: string
Type : string
import { ModelInterface } from '../../interfaces/model.interface';

export class ConfigRecord implements ModelInterface {

  constructor(public key: string, public value: string) {}

  toString(): string {
    return '{ key: ' + this.key + ', value: ' + this.value + ' }';
  }

}

results matching ""

    No results matching ""