copyWith method

Dependency copyWith({
  1. int? modId,
  2. int? relationType,
})

Implementation

Dependency copyWith({
  int? modId,
  int? relationType,
}) {
  return Dependency(
    modId: modId ?? this.modId,
    relationType: relationType ?? this.relationType,
  );
}