copyWith method

Permission copyWith({
  1. String? id,
  2. List<String>? companyBrances,
})

Implementation

Permission copyWith({
  String? id,
  List<String>? companyBrances,
}) =>
    Permission(
      id: id ?? this.id,
      companyBrances: companyBrances ?? this.companyBrances,
    );