copyWith method

AffectedObject copyWith({
  1. String? name,
  2. String? objectType,
})

Implementation

AffectedObject copyWith({String? name, String? objectType}) {
  return AffectedObject(
    name: name ?? this.name,
    objectType: objectType ?? this.objectType,
  );
}