copyWith method

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

Implementation

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