copyWith method

Licence copyWith({
  1. String? licenceCode,
  2. String? companyCode,
  3. String? company,
  4. bool? allowed,
})

Implementation

Licence copyWith({
  String? licenceCode,
  String? companyCode,
  String? company,
  bool? allowed,
}) =>
    Licence(
      licenceCode: licenceCode ?? this.licenceCode,
      companyCode: companyCode ?? this.companyCode,
      company: company ?? this.company,
      allowed: allowed ?? this.allowed,
    );