AtGroup constructor

AtGroup(
  1. String? groupName, {
  2. String? groupId,
  3. String? displayName,
  4. String? description,
  5. dynamic groupPicture,
  6. Set<AtContact>? members,
  7. Map? tags,
  8. DateTime? createdOn,
  9. DateTime? updatedOn,
  10. String? createdBy,
  11. String? updatedBy,
})

Implementation

AtGroup(this.groupName,
    {this.groupId,
    this.displayName,
    this.description,
    this.groupPicture,
    this.members,
    this.tags,
    this.createdOn,
    this.updatedOn,
    this.createdBy,
    this.updatedBy}) {
  members ??= <AtContact>{};
  createdOn ??= DateTime.now();
  updatedOn ??= DateTime.now();
}