copyWith method

KeyShapeSpec copyWith({
  1. KeyShapeKind? kind,
  2. int? cornerPermille,
  3. M3eShape? m3eShape,
  4. KeyShapeKind? morphTo,
  5. int? morphCornerPermille,
  6. KeyShapeKind? operatorKind,
  7. M3eShape? operatorM3eShape,
})

Implementation

KeyShapeSpec copyWith({
  KeyShapeKind? kind,
  int? cornerPermille,
  M3eShape? m3eShape,
  KeyShapeKind? morphTo,
  int? morphCornerPermille,
  KeyShapeKind? operatorKind,
  M3eShape? operatorM3eShape,
}) => KeyShapeSpec(
  kind: kind ?? this.kind,
  cornerPermille: cornerPermille ?? this.cornerPermille,
  m3eShape: m3eShape ?? this.m3eShape,
  morphTo: morphTo ?? this.morphTo,
  morphCornerPermille: morphCornerPermille ?? this.morphCornerPermille,
  operatorKind: operatorKind ?? this.operatorKind,
  operatorM3eShape: operatorM3eShape ?? this.operatorM3eShape,
);