copyWith method

Mechanism copyWith({
  1. String? type,
  2. String? description,
  3. String? helpLink,
  4. bool? handled,
  5. Map<String, dynamic>? meta,
  6. Map<String, dynamic>? data,
  7. bool? synthetic,
})

Implementation

Mechanism copyWith({
  String? type,
  String? description,
  String? helpLink,
  bool? handled,
  Map<String, dynamic>? meta,
  Map<String, dynamic>? data,
  bool? synthetic,
}) =>
    Mechanism(
      type: type ?? this.type,
      description: description ?? this.description,
      helpLink: helpLink ?? this.helpLink,
      handled: handled ?? this.handled,
      meta: meta ?? this.meta,
      data: data ?? this.data,
      synthetic: synthetic ?? this.synthetic,
    );