copyWith method
Implementation
BlocxTestEntity copyWith({
String? id,
String? name,
int? order,
Map<String, dynamic>? data,
}) {
return BlocxTestEntity(
id: id ?? this.id,
name: name ?? this.name,
order: order ?? this.order,
data: data ?? this.data,
);
}