copyWith method

Trait copyWith({
  1. int? id,
  2. String? key,
  3. dynamic value,
})

Implementation

Trait copyWith({
  int? id,
  String? key,
  dynamic value,
}) =>
    Trait(
      id: id ?? this.id,
      key: key ?? this.key,
      value: value ?? this.value,
    );