copyWith method

AxelorVersionModel copyWith({
  1. int? id,
  2. int? version,
})

Implementation

AxelorVersionModel copyWith({int? id, int? version}) => AxelorVersionModel(
      version: version ?? this.version,
      id: id ?? this.id,
    );