copyWith method

PropertyKey copyWith({
  1. String? key,
  2. String? self,
})

Implementation

PropertyKey copyWith({String? key, String? self}) {
  return PropertyKey(
    key: key ?? this.key,
    self: self ?? this.self,
  );
}