copyWith method

TransferBusinessAccountStars copyWith({
  1. String? businessConnectionId,
  2. int? starCount,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

TransferBusinessAccountStars copyWith({
  String? businessConnectionId,
  int? starCount,
}) => TransferBusinessAccountStars(
  businessConnectionId: businessConnectionId ?? this.businessConnectionId,
  starCount: starCount ?? this.starCount,
);