copyWith method

MutationCommand copyWith({
  1. String? sql,
  2. List<Object?>? binds,
  3. String? table,
  4. String? operation,
  5. Object? entity,
})

Implementation

MutationCommand copyWith({
  String? sql,
  List<Object?>? binds,
  String? table,
  String? operation,
  Object? entity,
}) {
  return MutationCommand(
    sql: sql ?? this.sql,
    binds: binds ?? this.binds,
    table: table ?? this.table,
    operation: operation ?? this.operation,
    entity: entity ?? this.entity,
  );
}