merged method

  1. @override
WidthExpression? merged(
  1. DartStyleExpression newDartExpr
)
override

Implementation

@override
WidthExpression? merged(DartStyleExpression newDartExpr) {
  if (newDartExpr is WidthExpression && isWidth && newDartExpr.isWidth) {
    return newDartExpr;
  }

  return null;
}