File

src/app/chats/chats.model.ts

Index

Properties

Constructor

constructor(model: any)
Parameters :
Name Type Optional
model any No

Properties

messages
Type : any[]
name
Type : string
picture
Type : string
export class Chat {
  picture: string;
  name: string;
  messages: any[];

  constructor(model: any = null) {
    this.picture = model.picture;
    this.name = model.name;
    this.messages = model.messages;
  }
}

result-matching ""

    No results matching ""