copyWith method

EntityProperty copyWith({
  1. String? key,
  2. dynamic value,
})

Implementation

EntityProperty copyWith({String? key, dynamic value}) {
  return EntityProperty(
    key: key ?? this.key,
    value: value ?? this.value,
  );
}