copyWith method

QuickbooksCategory copyWith({
  1. String? id,
  2. String? fullyQualifiedName,
  3. String? domain,
  4. String? name,
  5. String? syncToken,
  6. bool? sparse,
  7. bool? active,
})

Implementation

QuickbooksCategory copyWith({
  String? id,
  String? fullyQualifiedName,
  String? domain,
  String? name,
  String? syncToken,
  bool? sparse,
  bool? active,
}) {
  return QuickbooksCategory(
    id: id ?? this.id,
    fullyQualifiedName: fullyQualifiedName ?? this.fullyQualifiedName,
    domain: domain ?? this.domain,
    name: name ?? this.name,
    syncToken: syncToken ?? this.syncToken,
    sparse: sparse ?? this.sparse,
    active: active ?? this.active,
  );
}