copyWith method

CampoEsquema copyWith({
  1. String? label,
  2. TypeEsquema? type,
  3. bool? mostrarTabla,
  4. bool? grupo,
  5. TipoDato? tipoDato,
  6. String? campoColeccion,
  7. String? keyDesarrollo,
  8. Map<String, dynamic>? dynamicListValue,
  9. Map<String, dynamic>? listenStreamValue,
  10. int? ordenTabla,
  11. String? modoAjusteTabla,
  12. double? anchoColumna,
  13. double? proporcionAnchoCampo,
  14. dynamic valor,
  15. BuildContext? context,
  16. TextEditingController? controller,
  17. Map<String, dynamic>? esquema,
  18. String? paramsConsultaColeccion,
})

Implementation

CampoEsquema copyWith({
  String? label,
  TypeEsquema? type,
  bool? mostrarTabla,
  bool? grupo,
  TipoDato? tipoDato,
  String? campoColeccion,
  String? keyDesarrollo,
  Map<String, dynamic>? dynamicListValue,
  Map<String, dynamic>? listenStreamValue,
  int? ordenTabla,
  String? modoAjusteTabla,
  double? anchoColumna,
  double? proporcionAnchoCampo,
  dynamic valor,
  BuildContext? context,
  TextEditingController? controller,
  Map<String, dynamic>? esquema,
  String? paramsConsultaColeccion,
}) =>
    CampoEsquema(
      key: key,
      currentKeyController: currentKeyController,
      controller: controller ?? this.controller,
      context: context ?? this.context,
      label: label ?? this.label,
      type: type ?? this.type,
      mostrarTabla: mostrarTabla ?? this.mostrarTabla,
      grupo: grupo ?? this.grupo,
      tipoDato: tipoDato ?? this.tipoDato,
      campoColeccion: campoColeccion ?? this.campoColeccion,
      keyDesarrollo: keyDesarrollo ?? this.keyDesarrollo,
      dynamicListValue: dynamicListValue ?? this.dynamicListValue,
      listenStreamValue: listenStreamValue ?? this.listenStreamValue,
      ordenTabla: ordenTabla ?? this.ordenTabla,
      modoAjusteTabla: modoAjusteTabla ?? this.modoAjusteTabla,
      anchoColumna: anchoColumna ?? this.anchoColumna,
      proporcionAnchoCampo: proporcionAnchoCampo ?? this.proporcionAnchoCampo,
      paramsConsultaColeccion:
          paramsConsultaColeccion ?? this.paramsConsultaColeccion,
      valor: valor ?? this.valor,
      esquema: esquema ?? this.esquema,
    );