copyWith method

MetaFormContext copyWith({
  1. JsonPath? embedPath,
  2. MModel? subject,
  3. MetaFormResult? handlers,
  4. MetaPropertyHandler? renderer,
  5. IMSchemaDefinition? schema,
  6. Map<String, dynamic>? scope,
  7. MetadataOverrides? overrides,
  8. FormController? controller,
  9. List<MetaPropertyHandler>? extraHandlers,
})

Implementation

MetaFormContext copyWith({
  JsonPath? embedPath,
  MModel? subject,
  MetaFormResult? handlers,
  MetaPropertyHandler? renderer,
  IMSchemaDefinition? schema,
  Map<String, dynamic>? scope,
  MetadataOverrides? overrides,
  FormController? controller,
  List<MetaPropertyHandler>? extraHandlers,
}) {
  return MetaFormContext._(
    context,
    ref: ref,
    subject: subject ?? this.subject,
    handlers: handlers ?? this.handlers,
    schema: schema ?? this._schema,
    embedPath: embedPath ?? this.embedPath,
    scope: scope ?? this.scope,
    overrides: overrides ?? this.overrides,
    extraHandlers: extraHandlers ?? this.extraHandlers,
  );
}