copyWith method
Implementation
IdOrKeyBean copyWith({int? id, String? key}) {
return IdOrKeyBean(
id: id ?? this.id,
key: key ?? this.key,
);
}
IdOrKeyBean copyWith({int? id, String? key}) {
return IdOrKeyBean(
id: id ?? this.id,
key: key ?? this.key,
);
}