copyWith method
LiteralJsonSchemaProperty
copyWith({
- LiteralJsonSchemaPropertyType? type,
- String? description,
- String? dynamicVariable,
- dynamic constantValue,
Implementation
LiteralJsonSchemaProperty copyWith(
{enums.LiteralJsonSchemaPropertyType? type,
String? description,
String? dynamicVariable,
dynamic constantValue}) {
return LiteralJsonSchemaProperty(
type: type ?? this.type,
description: description ?? this.description,
dynamicVariable: dynamicVariable ?? this.dynamicVariable,
constantValue: constantValue ?? this.constantValue);
}