copyWith method

WorkspaceGroupByNameResponseModel copyWith({
  1. String? name,
  2. String? id,
  3. List<String>? membersEmails,
})

Implementation

WorkspaceGroupByNameResponseModel copyWith(
    {String? name, String? id, List<String>? membersEmails}) {
  return WorkspaceGroupByNameResponseModel(
      name: name ?? this.name,
      id: id ?? this.id,
      membersEmails: membersEmails ?? this.membersEmails);
}