copyWith method

JsonTypeBean copyWith({
  1. String? type,
  2. String? items,
  3. String? system,
  4. String? custom,
  5. int? customId,
  6. Map<String, dynamic>? configuration,
})

Implementation

JsonTypeBean copyWith(
    {String? type,
    String? items,
    String? system,
    String? custom,
    int? customId,
    Map<String, dynamic>? configuration}) {
  return JsonTypeBean(
    type: type ?? this.type,
    items: items ?? this.items,
    system: system ?? this.system,
    custom: custom ?? this.custom,
    customId: customId ?? this.customId,
    configuration: configuration ?? this.configuration,
  );
}