copyWith method
EditorWarningAndErrorsEntity
copyWith({
- List<
EditorSuggestionEntity> ? suggestions, - List<
EditorWarningEntity> ? warnings, - List<
EditorErrorEntity> ? errors,
Implementation
EditorWarningAndErrorsEntity copyWith({
List<EditorSuggestionEntity>? suggestions,
List<EditorWarningEntity>? warnings,
List<EditorErrorEntity>? errors,
}) =>
EditorWarningAndErrorsEntity(
suggestions: suggestions ?? this.suggestions,
warnings: warnings ?? this.warnings,
errors: errors ?? this.errors,
);