copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetGroupsInCommon copyWith({int? userId, int? offsetChatId, int? limit}) =>
GetGroupsInCommon(
userId: userId ?? this.userId,
offsetChatId: offsetChatId ?? this.offsetChatId,
limit: limit ?? this.limit,
);