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