copyWith method

ContextualConfiguration copyWith({
  1. dynamic configuration,
  2. String? fieldContextId,
  3. String? id,
  4. dynamic schema,
})

Implementation

ContextualConfiguration copyWith(
    {dynamic configuration,
    String? fieldContextId,
    String? id,
    dynamic schema}) {
  return ContextualConfiguration(
    configuration: configuration ?? this.configuration,
    fieldContextId: fieldContextId ?? this.fieldContextId,
    id: id ?? this.id,
    schema: schema ?? this.schema,
  );
}