copyWith method
PermissionCheckResponse
copyWith({
- bool? hasPermission,
- List<
Message> ? errors, - GenericLinks? links,
Implementation
PermissionCheckResponse copyWith(
{bool? hasPermission, List<Message>? errors, GenericLinks? links}) {
return PermissionCheckResponse(
hasPermission: hasPermission ?? this.hasPermission,
errors: errors ?? this.errors,
links: links ?? this.links,
);
}