copyWith method

Binding copyWith({
  1. String? type,
  2. Map<String, String>? filter,
  3. BindingCallback? callback,
  4. String? id,
})

Implementation

Binding copyWith({
  String? type,
  Map<String, String>? filter,
  BindingCallback? callback,
  String? id,
}) {
  return Binding(
    type ?? this.type,
    filter ?? this.filter,
    callback ?? this.callback,
    id ?? this.id,
  );
}