copyWith method

LineBar copyWith({
  1. double? pointY,
  2. String? label,
})

Implementation

LineBar copyWith({
  double? pointY,
  String? label,
}) {
  return LineBar(
    pointY: pointY ?? this.pointY,
    label: label ?? this.label,
  );
}