You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819
  1. /**
  2. * Class representing Contact model
  3. * @class Contact
  4. */
  5. export default class Contact {
  6. constructor(opts) {
  7. let {
  8. id,
  9. avatar,
  10. name,
  11. isLocal
  12. } = opts;
  13. this.id = id;
  14. this.avatar = avatar || '';
  15. this.name = name || '';
  16. this.isLocal = isLocal || false;
  17. }
  18. }