copyWith method

StyleExpressionOptions copyWith({
  1. StyleExpressionType? expectedType,
})

A copy of this value with the given members replaced.

Implementation

StyleExpressionOptions copyWith({StyleExpressionType? expectedType}) =>
    StyleExpressionOptions(expectedType: expectedType ?? this.expectedType);