copyWith method

RestrictedPermission copyWith({
  1. String? id,
  2. String? key,
})

Implementation

RestrictedPermission copyWith({String? id, String? key}) {
  return RestrictedPermission(
    id: id ?? this.id,
    key: key ?? this.key,
  );
}