setIdForCopy method

void setIdForCopy(
  1. String copyId
)

Implementation

void setIdForCopy(String copyId) {
  if (copyId.isNotEmpty) {
    _id = copyId;
  } else {
    throw ArgumentError('Invalid ID for copy');
  }
}