copyWith method

PermissionHolder copyWith({
  1. String? expand,
  2. String? parameter,
  3. String? type,
  4. String? value,
})

Implementation

PermissionHolder copyWith(
    {String? expand, String? parameter, String? type, String? value}) {
  return PermissionHolder(
    expand: expand ?? this.expand,
    parameter: parameter ?? this.parameter,
    type: type ?? this.type,
    value: value ?? this.value,
  );
}