copyWith method

SectionConfig copyWith({
  1. String? name,
  2. String? description,
  3. bool? active,
  4. Map<String, dynamic>? settings,
  5. Map<String, dynamic>? extensions,
})

Implementation

SectionConfig copyWith({
  String? name,
  String? description,
  bool? active,
  Map<String, dynamic>? settings,
  Map<String, dynamic>? extensions,
}) {
  return SectionConfig(
    name: name ?? this.name,
    description: description ?? this.description,
    active: active ?? this.active,
    settings: settings ?? this.settings,
  );
}