copyWith method

PermissionSubject copyWith({
  1. PermissionSubjectType? type,
  2. String? identifier,
})

Implementation

PermissionSubject copyWith(
    {PermissionSubjectType? type, String? identifier}) {
  return PermissionSubject(
    type: type ?? this.type,
    identifier: identifier ?? this.identifier,
  );
}